I think this should be a relatively easy fix, but my C is very rusty. The modcheck function (from line 2228 in sc.c) tries to ask the user if changes need to be saved by calling snprintf on line 2234.
The ModCheck tool for Empire at War and Forces of Corruption allows mod makers to check their mods for errors, like missing text entries, references or corrupted models or map files. The tool was ...