summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 0c7ebd54..733ed543 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -2497,6 +2497,17 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e
2497 break; 2497 break;
2498 } 2498 }
2499#endif 2499#endif
2500#if 0
2501 case '0': {
2502 extern int enableKerning_Text;
2503 enableKerning_Text = !enableKerning_Text;
2504 invalidate_DocumentWidget_(d);
2505 refresh_Widget(w);
2506 printf("kerning: %d\n", enableKerning_Text);
2507 fflush(stdout);
2508 break;
2509 }
2510#endif
2500 } 2511 }
2501 } 2512 }
2502 else if (ev->type == SDL_MOUSEWHEEL && isHover_Widget(w)) { 2513 else if (ev->type == SDL_MOUSEWHEEL && isHover_Widget(w)) {