^char in commandline keystack should work now.

This commit is contained in:
Ianos Gnatiuc 2006-07-04 17:04:01 +00:00
parent 7e40ee5bc9
commit d92c06520e
3 changed files with 13 additions and 2 deletions

View File

@ -10,6 +10,8 @@ _____________________________________________________________________________
‡ ¬¥âª¨ ¤«ï GoldED+ 1.1.5, /snapshot/
_____________________________________________________________________________
- ­¥ à ¡®â «® ^¡ãª¢  ¨§ ª®¬ ­¤­®© áâப¨.
‘­ ¯è®â ®â 3 ¨î«ï 2006.
- Golded+ ¬®£ 㯠áâì ¢® ¢à¥¬ï ¯ àᨭ£  ⥬¯«¥©â  ¨§-§  ¢ë室  §  £à ­¨æã ¡ãä¥à .

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
- ^char in commandline keystack should work now.
= Snapshot for the Jule 3, 2006.
- Fixed buffer overrun in template parsing.

View File

@ -291,10 +291,12 @@ static void kbputstr(const char* buf) {
case '\t':
case ' ':
break;
case '!':
clearkeys();
kbclear();
break;
case '0':
case '1':
case '2':
@ -311,12 +313,14 @@ static void kbputstr(const char* buf) {
break;
}
break;
case '~':
case '^':
xkey = (gkey)(g_toupper(buf[++n]) - '@');
if(xkey)
kbput(xkey);
if (xkey)
kbput(keyscanxlat(xkey));
break;
case '@':
xkey = (gkey)atoi(&buf[++n]);
if(xkey == 0)
@ -327,6 +331,7 @@ static void kbputstr(const char* buf) {
break;
}
break;
case '\"':
for(n+=1; n<x; n++) {
if(buf[n] == '\"')
@ -334,6 +339,7 @@ static void kbputstr(const char* buf) {
kbputc_(buf[n]);
}
break;
case '\'':
for(n+=1; n<x; n++) {
if(buf[n] == '\'')
@ -341,6 +347,7 @@ static void kbputstr(const char* buf) {
kbputc_(buf[n]);
}
break;
default:
kbputc_(buf[n]);
}