- this smartass hack, which was removed from editscreen.c, was needed for

the textwindow. doh!

  now you can press alt+p in textwindow again!
This commit is contained in:
2003-07-09 20:09:07 +00:00
parent 5aa8ac36a1
commit 1e666dd1cd

View File

@@ -887,6 +887,9 @@ void winqreadtextspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
return;
}
/* smartass code to prevent the events below from not working! */
if (!isprint(ascii) || (G.qual & ~LR_SHIFTKEY)) ascii= 0;
text= st->text;
if (!text) {