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:
parent
59b74e9fcb
commit
651bf8d275
1
CHANGES
1
CHANGES
@ -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)
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user