Mercurial > pidgin
comparison finch/libgnt/gntmain.c @ 19186:eef82b050c21
merge of 'bbeac90ad01d5059327da9e2504716614a191cab'
and 'f30bfc6fc7aee19d096dd838aad5a784a7371d6c'
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Sat, 11 Aug 2007 21:08:27 +0000 |
parents | c8f9584e3221 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
18842:e20619418edf | 19186:eef82b050c21 |
---|---|
250 goto end; | 250 goto end; |
251 | 251 |
252 if (HOLDING_ESCAPE) | 252 if (HOLDING_ESCAPE) |
253 keys[0] = '\033'; | 253 keys[0] = '\033'; |
254 k = keys; | 254 k = keys; |
255 | |
256 #if 0 | |
257 /* I am not sure what's happening here. If this actually does something, | |
258 * then this needs to go in gnt_keys_refine. */ | |
259 if (*k < 0) { /* Alt not sending ESC* */ | |
260 *(k + 1) = 128 - *k; | |
261 *k = 27; | |
262 *(k + 2) = 0; | |
263 rd++; | |
264 } | |
265 #endif | |
266 | |
255 while (rd) { | 267 while (rd) { |
256 char back; | 268 char back; |
257 int p; | 269 int p; |
258 | 270 |
259 if (k[0] == '\033' && rd == 1) { | 271 if (k[0] == '\033' && rd == 1) { |