diff --git a/programs/cmm/Calypte/include/properties.h b/programs/cmm/Calypte/include/properties.h index 6988a83654..5d68334d13 100644 --- a/programs/cmm/Calypte/include/properties.h +++ b/programs/cmm/Calypte/include/properties.h @@ -81,7 +81,7 @@ void properties_dialog() break; case evReDraw: - DefineAndDrawWindow(Form.left + 150,150,270,285+skin_height,0x34,system.color.work,WINDOW_TITLE_PROPERTIES,0; + DefineAndDrawWindow(Form.left + 150,150,270,285+skin_height,0x34,system.color.work,WINDOW_TITLE_PROPERTIES,0); GetProcessInfo(#settings_form, SelfInfo); DrawCaptButton(settings_form.cwidth-70-13, settings_form.cheight-34, 70, 22, 10, 0x288FBD, 0xFFFfff, BTN_CLOSE); } diff --git a/programs/cmm/lib/kolibri.h b/programs/cmm/lib/kolibri.h index c878878794..5ed280a035 100644 --- a/programs/cmm/lib/kolibri.h +++ b/programs/cmm/lib/kolibri.h @@ -510,7 +510,7 @@ inline fastcall dword GetStartTime() loop()switch(WaitEvent()) { case evReDraw: - DefineAndDrawWindow(X_EventRedrawWindow,Y_EventRedrawWindow,100,1,1,0x34,0xFFFFFF,"",0); + DefineAndDrawWindow(X_EventRedrawWindow,Y_EventRedrawWindow,100,1,0x34,0xFFFFFF,NULL,0); pause(10); ExitProcess(); break;