Fixed unescaped '@' in fonts demo.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4423 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2005-07-16 07:57:14 +00:00
parent 59b74e9fcb
commit 651bf8d275
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745)
- Fixed unescaped '@' in fonts demo (STR #867)
- Fluid should not open the Display connection anymore if
creating code only (STR #904)
- Improved hidden copy / ctor implementation (STR #860)

View File

@ -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;