[Scummvm-git-logs] scummvm-tools master -> aaf3aeebab6d9492bf8895de268462dfd12f43b5

digitall dgturner at iee.org
Fri Aug 10 00:43:51 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .

Summary:
aaf3aeebab TOOLS: PRINCE: Fix Compilation on AOS4 and OSX.


Commit: aaf3aeebab6d9492bf8895de268462dfd12f43b5
    https://github.com/scummvm/scummvm-tools/commit/aaf3aeebab6d9492bf8895de268462dfd12f43b5
Author: D G Turner (digitall at scummvm.org)
Date: 2018-08-09T23:52:03+01:00

Commit Message:
TOOLS: PRINCE: Fix Compilation on AOS4 and OSX.

Changed paths:
    engines/prince/flags.cpp


diff --git a/engines/prince/flags.cpp b/engines/prince/flags.cpp
index 56fca25..f4e3828 100644
--- a/engines/prince/flags.cpp
+++ b/engines/prince/flags.cpp
@@ -23,9 +23,9 @@
 #include "flags.h"
 
 const char *Flags::getFlagName(uint16 flagId) {
-	FlagDebug *flagd = nullptr;
+	FlagDebug *flagd = NULL;
 	flagd = (FlagDebug *)bsearch(&flagId, _flagNames, kFlagDebugAmount, sizeof(FlagDebug), Flags::compareFlagDebug);
-	if (flagd != nullptr) {
+	if (flagd) {
 		return flagd->flagName;
 	} else {
 		return "unknown_flag";





More information about the Scummvm-git-logs mailing list