graph: try to fix editbox (previous effort was win)

git-svn-id: svn://kolibrios.org@2871 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-07-13 17:53:56 +00:00
parent 41e328ec55
commit 95db71b240

View File

@ -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();
}