diff options
| author | bloodstalker <thabogre@gmail.com> | 2017-06-13 16:05:03 +0000 | 
|---|---|---|
| committer | bloodstalker <thabogre@gmail.com> | 2017-06-13 16:05:03 +0000 | 
| commit | f3a0629cf380ca0a7d0a5e39c6d37eb2c08695ef (patch) | |
| tree | 342c08e8f19af2e37898ab29402845222c23fc07 | |
| parent | updated (diff) | |
| download | mutator-f3a0629cf380ca0a7d0a5e39c6d37eb2c08695ef.tar.gz mutator-f3a0629cf380ca0a7d0a5e39c6d37eb2c08695ef.zip  | |
lil fixing-up
Diffstat (limited to '')
| -rw-r--r-- | bruiser/bruiser.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp index 86e2cd7..360df06 100644 --- a/bruiser/bruiser.cpp +++ b/bruiser/bruiser.cpp @@ -1074,6 +1074,11 @@ class LuaWrapper          if (iter.rfind(filename) == iter.size() - filename.size())          {            targetfile.open(iter); + +          if(targetfile.rdstate() != std::ios_base::goodbit) +          { +            PRINT_WITH_COLOR_LB(RED, "could not open the file."); +          }          }        }  | 
