From ece68ef1f3fd4c67b3452406587664f79f74a1de Mon Sep 17 00:00:00 2001 From: Serhii Sakhno Date: Fri, 24 Jul 2015 20:08:01 +0000 Subject: [PATCH] Calypte: small fix git-svn-id: svn://kolibrios.org@5614 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/Calypte/Calypte.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/programs/cmm/Calypte/Calypte.c b/programs/cmm/Calypte/Calypte.c index a16ca6cc46..0583400f5a 100644 --- a/programs/cmm/Calypte/Calypte.c +++ b/programs/cmm/Calypte/Calypte.c @@ -1,3 +1,7 @@ +#ifndef AUTOBUILD + #include "lang.h--" +#endif + #define MEMSIZE 0x100000 #include "..\lib\kolibri.h" #include "..\lib\strings.h" @@ -9,8 +13,6 @@ #include "..\lib\obj\proc_lib.h" #include "..\lib\obj\libio_lib.h" -#include "lang.h--" - #ifdef LANG_RUS ?define T_FILE "” ©«" ?define T_TYPE "’¨¯" @@ -59,7 +61,7 @@ struct menu_text_struct }; #endif -#define TITLE "Calypte v0.1" +#define TITLE "Calypte v0.11" #define TOPPANELH 19 #define BOTPANELH 10 @@ -88,7 +90,7 @@ struct filter filter filter2; menu_text_struct menu_text_area1; -char win_title[4096] = "Calypte v0.1"; +char win_title[4096] = "Calypte v0.11"; int cur_row=0, @@ -139,6 +141,7 @@ void main() if (load_dll2(libio, #libio_init,1)!=0) notify(ERROR_LOAD_LIBIO); if (load_dll2(Proc_lib, #OpenDialog_init,0)!=0) notify(ERROR_LOAD_PROC_LIB); OpenDialog_init stdcall (#o_dialog); + SetEventMask(0x27); loop() {