mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 01:49:47 +00:00
new constant
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@252 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user