diff --git a/dd_grwin32/ddgrWin32Init.cpp b/dd_grwin32/ddgrWin32Init.cpp index 888b5da3..8b835ebe 100644 --- a/dd_grwin32/ddgrWin32Init.cpp +++ b/dd_grwin32/ddgrWin32Init.cpp @@ -191,7 +191,7 @@ void ddgr_FatalError(const char *fmt, ...) { std::vsnprintf(buf, 768, fmt, arglist); va_end(arglist); - if (DDGR_subsystems[i] = !-1) { + if (DDGR_subsystems[i] != -1) { strcat(buf, "\n\nSubsystem: "); strcat(buf, DDGR_subsystem_names[i]); }