freebsd-ports/games/allacrost/files/patch-src_engine_system.cpp
Dmitry Marakasov ea30fa9342 - Add missing depends
- Fix build with clang 6
2018-06-23 21:15:16 +00:00

11 lines
544 B
C++

--- src/engine/system.cpp.orig 2010-05-16 23:38:27 UTC
+++ src/engine/system.cpp
@@ -271,7 +271,7 @@ bool SystemEngine::SingletonInitialize()
#elif (defined(__linux__) || defined(__FreeBSD__)) && !defined(RELEASE_BUILD)
// Look for translation files in LOCALEDIR only if they are not available in the
// current directory.
- if (ifstream("dat/config/settings.lua") == NULL) {
+ if (!ifstream("dat/config/settings.lua")) {
bindtextdomain(PACKAGE, LOCALEDIR);
bind_textdomain_codeset(PACKAGE, "UTF-8");
textdomain(PACKAGE);