@@ -407,12 +407,12 @@ void DebugInit(int flags)
407407 if (rename (theLogFileName, theLogFileNamePrev) != 0 )
408408 {
409409#ifdef DEBUG_LOGGING
410- DebugLog (" Warning: Could not rename buffer file '%s' to '%s' and is remove instead" , theLogFileName, theLogFileNamePrev);
410+ DebugLog (" Warning: Could not rename buffer file '%s' to '%s'. Will remove instead" , theLogFileName, theLogFileNamePrev);
411411#endif
412412 if (remove (theLogFileName) != 0 )
413413 {
414414#ifdef DEBUG_LOGGING
415- DebugLog (" Warning: Failed to remove file '%s'. " , theLogFileName);
415+ DebugLog (" Warning: Failed to remove file '%s'" , theLogFileName);
416416#endif
417417 }
418418 }
@@ -753,12 +753,12 @@ void ReleaseCrash(const char *reason)
753753 if (rename (curbuf, prevbuf) != 0 )
754754 {
755755#ifdef DEBUG_LOGGING
756- DebugLog (" Warning: Could not rename buffer file '%s' to '%s' and is remove instead" , curbuf, prevbuf);
756+ DebugLog (" Warning: Could not rename buffer file '%s' to '%s'. Will remove instead" , curbuf, prevbuf);
757757#endif
758758 if (remove (curbuf) != 0 )
759759 {
760760#ifdef DEBUG_LOGGING
761- DebugLog (" Warning: Failed to remove file '%s'. " , curbuf);
761+ DebugLog (" Warning: Failed to remove file '%s'" , curbuf);
762762#endif
763763 }
764764 }
@@ -853,12 +853,12 @@ void ReleaseCrashLocalized(const AsciiString& p, const AsciiString& m)
853853 if (rename (curbuf, prevbuf) != 0 )
854854 {
855855#ifdef DEBUG_LOGGING
856- DebugLog (" Warning: Could not rename buffer file '%s' to '%s' and is remove instead" , curbuf, prevbuf);
856+ DebugLog (" Warning: Could not rename buffer file '%s' to '%s'. Will remove instead" , curbuf, prevbuf);
857857#endif
858858 if (remove (curbuf) != 0 )
859859 {
860860#ifdef DEBUG_LOGGING
861- DebugLog (" Warning: Failed to remove file '%s'. " , curbuf);
861+ DebugLog (" Warning: Failed to remove file '%s'" , curbuf);
862862#endif
863863 }
864864 }
0 commit comments