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

View File

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

View File

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