Fossil SCM

formatting

jan.nijtmans 2013-01-15 10:25 UTC allow-backslash-in-card-filename
Commit 9d657c3be50cc7770e26551a86591f409f1099cb
1 file changed +1 -1
+1 -1
--- src/file.c
+++ src/file.c
@@ -517,11 +517,11 @@
517517
if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){
518518
/* Unicode character in the range U+E000 - U+F8FF are for
519519
* private use, they shouldn't occur in filenames. */
520520
return 0;
521521
}
522
- } else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
522
+ }else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
523523
/* Unicode character in the range U+D800 - U+DFFF are for
524524
* surrogate pairs, they shouldn't occur in filenames. */
525525
return 0;
526526
}
527527
}
528528
--- src/file.c
+++ src/file.c
@@ -517,11 +517,11 @@
517 if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){
518 /* Unicode character in the range U+E000 - U+F8FF are for
519 * private use, they shouldn't occur in filenames. */
520 return 0;
521 }
522 } else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
523 /* Unicode character in the range U+D800 - U+DFFF are for
524 * surrogate pairs, they shouldn't occur in filenames. */
525 return 0;
526 }
527 }
528
--- src/file.c
+++ src/file.c
@@ -517,11 +517,11 @@
517 if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){
518 /* Unicode character in the range U+E000 - U+F8FF are for
519 * private use, they shouldn't occur in filenames. */
520 return 0;
521 }
522 }else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){
523 /* Unicode character in the range U+D800 - U+DFFF are for
524 * surrogate pairs, they shouldn't occur in filenames. */
525 return 0;
526 }
527 }
528

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button