From 95db71b2405a6a0b9b6c33961289d5cce9a61568 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 13 Jul 2012 17:53:56 +0000 Subject: [PATCH] graph: try to fix editbox (previous effort was win) git-svn-id: svn://kolibrios.org@2871 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/graph/hello.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/programs/other/graph/hello.cpp b/programs/other/graph/hello.cpp index ef683b47bf..59c949c9dc 100644 --- a/programs/other/graph/hello.cpp +++ b/programs/other/graph/hello.cpp @@ -46,7 +46,8 @@ char *funct = NULL; char edit_path[1024]; //Dword editbox_y = WND_H - 16, editbox_w = WND_W - 70; -edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0,99,(dword)&edit_path,0}; +edit_box mybox = {0,9*8-5,WND_H - 16-32,0xffffff,0x6a9480,0,0x808080,0,512,(dword)&edit_path, 64}; + char *full_head; @@ -610,6 +611,7 @@ void kos_Main() rtlDebugOutString("launched with params"); rtlDebugOutString((char*)params); strcpy(edit_path, params); + mybox.size=mybox.pos=strlen(edit_path); //rtlDebugOutString((char*)edit_path); load_points3(); }