diff options
Diffstat (limited to 'engines/glk/quest/read_file.cpp')
-rw-r--r-- | engines/glk/quest/read_file.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/glk/quest/read_file.cpp b/engines/glk/quest/read_file.cpp index c749bb2718..766b8b5013 100644 --- a/engines/glk/quest/read_file.cpp +++ b/engines/glk/quest/read_file.cpp @@ -352,10 +352,9 @@ bool decompile(String data, Common::Array<String> &rv); bool preprocess(Common::Array<String> v, String fname, Common::Array<String> &rv, GeasInterface *gi); GeasFile read_geas_file(GeasInterface *gi, const String &filename) { - //return GeasFile (split_lines(gi->get_file(s)), gi); String file_contents = gi->get_file(filename); - if (file_contents == "") + if (file_contents.empty()) return GeasFile(); Common::Array<String> data; |