Fossil SCM
C
Commit
fa8e0fed9c4b2cc3eb46ad40546a504be76ac1a0
Parent
397c990400d39b6…
1 file changed
+2
-2
+2
-2
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -495,12 +495,12 @@ | ||
| 495 | 495 | } |
| 496 | 496 | #if defined(_WIN32) |
| 497 | 497 | blob_add_cr(&text); |
| 498 | 498 | #endif |
| 499 | 499 | if( zEditor || fossil_utf8_to_console(blob_buffer(&text), blob_size(&text), 0) < 0) { |
| 500 | - /* We have an external editor or else we cannot write it directly to the | |
| 501 | - * (windows) console, so write it to stdout in mbcs encoding. */ | |
| 500 | + /* We have an external editor or else we cannot write directly to the | |
| 501 | + * (windows) console, so write it out in mbcs encoding. */ | |
| 502 | 502 | struct Blob temp; |
| 503 | 503 | zComment = fossil_utf8_to_mbcs(blob_str(&text)); |
| 504 | 504 | blob_set(&temp, zComment); |
| 505 | 505 | blob_write_to_file(&temp, zFile); |
| 506 | 506 | blob_zero(&temp); |
| 507 | 507 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -495,12 +495,12 @@ | |
| 495 | } |
| 496 | #if defined(_WIN32) |
| 497 | blob_add_cr(&text); |
| 498 | #endif |
| 499 | if( zEditor || fossil_utf8_to_console(blob_buffer(&text), blob_size(&text), 0) < 0) { |
| 500 | /* We have an external editor or else we cannot write it directly to the |
| 501 | * (windows) console, so write it to stdout in mbcs encoding. */ |
| 502 | struct Blob temp; |
| 503 | zComment = fossil_utf8_to_mbcs(blob_str(&text)); |
| 504 | blob_set(&temp, zComment); |
| 505 | blob_write_to_file(&temp, zFile); |
| 506 | blob_zero(&temp); |
| 507 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -495,12 +495,12 @@ | |
| 495 | } |
| 496 | #if defined(_WIN32) |
| 497 | blob_add_cr(&text); |
| 498 | #endif |
| 499 | if( zEditor || fossil_utf8_to_console(blob_buffer(&text), blob_size(&text), 0) < 0) { |
| 500 | /* We have an external editor or else we cannot write directly to the |
| 501 | * (windows) console, so write it out in mbcs encoding. */ |
| 502 | struct Blob temp; |
| 503 | zComment = fossil_utf8_to_mbcs(blob_str(&text)); |
| 504 | blob_set(&temp, zComment); |
| 505 | blob_write_to_file(&temp, zFile); |
| 506 | blob_zero(&temp); |
| 507 |