projects
/
goodguy
/
history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f1b7c
)
repair utf8 keycode vs wkey syms
author
Good Guy
<good1.2guy@gmail.com>
Tue, 9 Oct 2018 02:16:22 +0000
(20:16 -0600)
committer
Good Guy
<good1.2guy@gmail.com>
Tue, 9 Oct 2018 02:16:22 +0000
(20:16 -0600)
cinelerra-5.1/guicast/bctextbox.C
patch
|
blob
|
history
diff --git
a/cinelerra-5.1/guicast/bctextbox.C
b/cinelerra-5.1/guicast/bctextbox.C
index e2af4cbe2a05e5166c3128bc03b994767553a47d..a7c8f5f7570ff1ce45d55bb65aaf1fded2da3007 100644
(file)
--- a/
cinelerra-5.1/guicast/bctextbox.C
+++ b/
cinelerra-5.1/guicast/bctextbox.C
@@
-1130,12
+1130,12
@@
void BC_TextBox::default_keypress(int &dispatch_event, int &result)
case KPINS: key = '0'; goto kpchr;
case KP1: case KP2: case KP3: case KP4: case KP5:
case KP6: case KP7: case KP8: case KP9:
- key = key - KP1 + '1'; goto kpchr;
- default:
- if( key < 32 || key > 255 ) return;
+ key = key - KP1 + '1';
kpchr: {
wkeys[0] = key; wkeys[1] = 0; len = 1;
break; }
+ default:
+ if( key < 32 || key > 255 ) return;
}
insert_text(wkeys, len);
find_ibeam(1);