new constant

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@252 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-10 11:45:27 +00:00
parent 0c28c9d104
commit 0fd866977b
14 changed files with 65 additions and 42 deletions

View File

@@ -2,12 +2,12 @@
#include <Mw/Milsko.h>
static int create(MwWidget handle) {
int st;
MwEntry e;
int st;
MwEntry e;
if((st = MwEntryClass->create(handle)) != 0) return st;
e = handle->internal;
e = handle->internal;
e->right = 32;
return 0;
@@ -33,7 +33,7 @@ static void key(MwWidget handle, int code) {
ok = 1;
} else if(code == '.' && strchr(str, (int)'.') == NULL) {
ok = 1;
}else if(code == MwLLKeyBackSpace || code == MwLLKeyLeft || code == MwLLKeyRight){
} else if(code == MwLLKeyBackSpace || code == MwLLKeyLeft || code == MwLLKeyRight) {
ok = 1;
}