mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix the usage of memory, strings, constant and parameters
This commit is contained in:
parent
b84fbf452e
commit
725561b655
8 changed files with 20 additions and 18 deletions
|
@ -370,7 +370,7 @@ bool UINotepad::Create(UIWidget *parent, UIRect2D& rect, const char *filename)
|
|||
uipd = new uipopup_describe("Save As...(Ctrl-A)", UIP_EVENT, &EV_Notepad_SaveAs, NULL);
|
||||
pops->AddObject(uipd);
|
||||
|
||||
uipd = new uipopup_describe(NULL, UIP_SEPARATOR, NULL, NULL);
|
||||
uipd = new uipopup_describe(str(), UIP_SEPARATOR, NULL, NULL);
|
||||
pops->AddObject(uipd);
|
||||
|
||||
uipd = new uipopup_describe("Close (Ctrl-W)", UIP_EVENT, &UIFloatingWindow::W_ClosePressed, NULL);
|
||||
|
@ -389,7 +389,7 @@ bool UINotepad::Create(UIWidget *parent, UIRect2D& rect, const char *filename)
|
|||
uipd = new uipopup_describe("Paste (Ctrl-V)", UIP_EVENT, &EV_Notepad_Paste, NULL);
|
||||
pops->AddObject(uipd);
|
||||
|
||||
uipd = new uipopup_describe(NULL, UIP_SEPARATOR, NULL, NULL);
|
||||
uipd = new uipopup_describe(str(), UIP_SEPARATOR, NULL, NULL);
|
||||
pops->AddObject(uipd);
|
||||
|
||||
uipd = new uipopup_describe("Find (Ctrl-F)", UIP_EVENT, &EV_Notepad_Find, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue