cleanup
- fix possible crash in conc (but it's still an ugly hack) - fix noob usage of strcmp - flag some memory leaks (it would be nice, if the author(s) would clean up the mess himself) - fix crash in substr - whitespace cleanup there are plenty more memory leaks in command.cpp - for example, every goto in cubescript does not clean up anything
This commit is contained in:
+2
-2
@@ -1306,7 +1306,7 @@ int main(int argc, char **argv)
|
||||
// in the screenshot regardless of which frame buffer is current
|
||||
if (!minimized)
|
||||
{
|
||||
gl_drawframe(screen->w, screen->h, fps<lowfps ? fps/lowfps : (fps>highfps ? fps/highfps : 1.0f), fps);
|
||||
gl_drawframe(screen->w, screen->h, fps<lowfps ? fps/lowfps : (fps>highfps ? fps/highfps : 1.0f), fps);
|
||||
}
|
||||
addsleep(0, "screenshot");
|
||||
needsautoscreenshot = false;
|
||||
@@ -1330,4 +1330,4 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
VAR(version, 1, AC_VERSION, 0);
|
||||
VAR(protocol, 1, PROTOCOL_VERSION, 0);
|
||||
VAR(protocol, 1, PROTOCOL_VERSION, 0);
|
||||
|
||||
Reference in New Issue
Block a user