From 5855f9548f901317fb0bcf49ee6b633570ac97d5 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Wed, 1 Oct 2025 06:44:44 +0000 Subject: [PATCH] dummy git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@98 b9cfdab3-6d41-4d17-bbe4-086880011989 --- include/Mw/GDI.h | 2 +- src/gdi.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/Mw/GDI.h b/include/Mw/GDI.h index a61c600..ce1a24c 100644 --- a/include/Mw/GDI.h +++ b/include/Mw/GDI.h @@ -17,7 +17,7 @@ struct _MwLL { HWND hWnd; HDC hDC; void* user; - int copy_buffer; + int copy_buffer; MwLLHandler handler; }; diff --git a/src/gdi.c b/src/gdi.c index fd85e45..c422f9a 100644 --- a/src/gdi.c +++ b/src/gdi.c @@ -82,8 +82,7 @@ MwLL MwLLCreate(MwLL parent, int x, int y, int width, int height) { RegisterClassEx(&wc); - r->copy_buffer = 1; - r->hWnd = CreateWindow(parent == NULL ? "milsko" : "STATIC", "Milsko", parent == NULL ? (WS_OVERLAPPEDWINDOW) : (WS_CHILD | WS_VISIBLE), x, y, width, height, parent == NULL ? NULL : parent->hWnd, 0, wc.hInstance, NULL); + r->hWnd = CreateWindow(parent == NULL ? "milsko" : "STATIC", "Milsko", parent == NULL ? (WS_OVERLAPPEDWINDOW) : (WS_CHILD | WS_VISIBLE), x, y, width, height, parent == NULL ? NULL : parent->hWnd, 0, wc.hInstance, NULL); u->ll = r; if(parent == NULL) {