Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/games/allacrost/files/patch-src_engine_system.cpp
16135 views
1
--- src/engine/system.cpp.orig 2010-05-16 23:38:27 UTC
2
+++ src/engine/system.cpp
3
@@ -271,7 +271,7 @@ bool SystemEngine::SingletonInitialize()
4
#elif (defined(__linux__) || defined(__FreeBSD__)) && !defined(RELEASE_BUILD)
5
// Look for translation files in LOCALEDIR only if they are not available in the
6
// current directory.
7
- if (ifstream("dat/config/settings.lua") == NULL) {
8
+ if (!ifstream("dat/config/settings.lua")) {
9
bindtextdomain(PACKAGE, LOCALEDIR);
10
bind_textdomain_codeset(PACKAGE, "UTF-8");
11
textdomain(PACKAGE);
12
13