[DDGR] Fixed accidental assignment in 'if' statement

This commit is contained in:
Thomas Roß 2024-09-07 16:57:11 +02:00
parent a4ef5fd0d5
commit fcccc9aafa

View File

@ -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]);
}