diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-07-16 07:57:14 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-07-16 07:57:14 +0000 |
| commit | 651bf8d2752e0ae15202ac32c6e36a1f8d5c6074 (patch) | |
| tree | 1229b685d2d1d0a817da89baf119a549ae1f270c /test/fonts.cxx | |
| parent | 59b74e9fcb596ddae928acf383b695026ed20aa5 (diff) | |
Fixed unescaped '@' in fonts demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/fonts.cxx')
| -rw-r--r-- | test/fonts.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/fonts.cxx b/test/fonts.cxx index d6155495b..5e021f28a 100644 --- a/test/fonts.cxx +++ b/test/fonts.cxx @@ -110,7 +110,11 @@ void create_the_forms() { strcpy(label, "Hello, world!\n"); int i = strlen(label); uchar c; - for (c = ' '+1; c < 127; c++) {if (!(c&0x1f)) label[i++]='\n'; label[i++]=c;} + for (c = ' '+1; c < 127; c++) { + if (!(c&0x1f)) label[i++]='\n'; + if (c=='@') label[i++]=c; + label[i++]=c; + } label[i++] = '\n'; for (c = 0xA1; c; c++) {if (!(c&0x1f)) label[i++]='\n'; label[i++]=c;} label[i] = 0; |
