From eb8c7e7663ce98c1daab7546d74d6de0db4b3d60 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 8 Jan 2022 20:22:10 +0000 Subject: [PATCH] fix build git-svn-id: svn://kolibrios.org@9598 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/app_plus/app_plus.c | 2 +- programs/cmm/appearance/appearance.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/cmm/app_plus/app_plus.c b/programs/cmm/app_plus/app_plus.c index d97f24416c..7a2f43de7f 100644 --- a/programs/cmm/app_plus/app_plus.c +++ b/programs/cmm/app_plus/app_plus.c @@ -103,7 +103,7 @@ void main() void draw_window() { sc.get(); - DefineAndDrawWindow(screen.w-WINW/2, 100, WINW, WINH+skin_height, 0x34, sc.work, WINDOW_TITLE_TEXT,0); + DefineAndDrawWindow(screen.w-WINW/2, 100, WINW, WINH+skin_h, 0x34, sc.work, WINDOW_TITLE_TEXT,0); WriteTextB(CONX+2,SCRY+2,0x81,MixColors(sc.work, 0xB92234,220),CONTENT_HEADER_TEXT); WriteTextB(CONX,SCRY,0x81,0xB92234,CONTENT_HEADER_TEXT); draw_screen(); diff --git a/programs/cmm/appearance/appearance.c b/programs/cmm/appearance/appearance.c index e1266c6b49..28b3693ff2 100644 --- a/programs/cmm/appearance/appearance.c +++ b/programs/cmm/appearance/appearance.c @@ -124,7 +124,7 @@ void main() void draw_window() { sc.get(); - DefineAndDrawWindow(screen.w-WIN_W-9/2,80,WIN_W+9,WIN_H+4+skin_height,0x74,sc.work,WINDOW_HEADER,0); + DefineAndDrawWindow(screen.w-WIN_W-9/2,80,WIN_W+9,WIN_H+4+skin_h,0x74,sc.work,WINDOW_HEADER,0); DrawBar(0, 0, WIN_W, PANEL_H-2, sc.work); //top DrawBar(0, PANEL_H-2, LP-2, WIN_H-PANEL_H-LP+4, EDX); //left