Fossil SCM
formatting
Commit
9d657c3be50cc7770e26551a86591f409f1099cb
Parent
5e710f01b56fa64…
1 file changed
+1
-1
+1
-1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -517,11 +517,11 @@ | ||
| 517 | 517 | if ( !(c & 1) || ((z[i+1] & 0xff) < 0xa4) ){ |
| 518 | 518 | /* Unicode character in the range U+E000 - U+F8FF are for |
| 519 | 519 | * private use, they shouldn't occur in filenames. */ |
| 520 | 520 | return 0; |
| 521 | 521 | } |
| 522 | - } else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){ | |
| 522 | + }else if( ((c & 0xff) == 0xed) && ((z[i+1] & 0xe0) == 0xa0) ){ | |
| 523 | 523 | /* Unicode character in the range U+D800 - U+DFFF are for |
| 524 | 524 | * surrogate pairs, they shouldn't occur in filenames. */ |
| 525 | 525 | return 0; |
| 526 | 526 | } |
| 527 | 527 | } |
| 528 | 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 |
| --- 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 |