Fossil SCM
Remove superfluous include and add a missing blank line.
Commit
4c194957c8107d27d9845dbddc95ad71deb8c8bf
Parent
7ea50595399ee7a…
1 file changed
+1
-1
+1
-1
| --- src/comformat.c | ||
| +++ src/comformat.c | ||
| @@ -21,11 +21,10 @@ | ||
| 21 | 21 | #include "config.h" |
| 22 | 22 | #include "comformat.h" |
| 23 | 23 | #include <assert.h> |
| 24 | 24 | #ifdef _WIN32 |
| 25 | 25 | # include <windows.h> |
| 26 | -# include <wincon.h> | |
| 27 | 26 | #else |
| 28 | 27 | # include <termios.h> |
| 29 | 28 | #endif |
| 30 | 29 | |
| 31 | 30 | /* |
| @@ -41,10 +40,11 @@ | ||
| 41 | 40 | int si, sk, i, k; |
| 42 | 41 | int doIndent = 0; |
| 43 | 42 | char *zBuf; |
| 44 | 43 | char zBuffer[400]; |
| 45 | 44 | int lineCnt = 0; |
| 45 | + | |
| 46 | 46 | #if defined(_WIN32) |
| 47 | 47 | if( lineLength<0 ){ |
| 48 | 48 | CONSOLE_SCREEN_BUFFER_INFO csbi; |
| 49 | 49 | memset(&csbi, 0, sizeof(CONSOLE_SCREEN_BUFFER_INFO)); |
| 50 | 50 | if( GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi) ){ |
| 51 | 51 |
| --- src/comformat.c | |
| +++ src/comformat.c | |
| @@ -21,11 +21,10 @@ | |
| 21 | #include "config.h" |
| 22 | #include "comformat.h" |
| 23 | #include <assert.h> |
| 24 | #ifdef _WIN32 |
| 25 | # include <windows.h> |
| 26 | # include <wincon.h> |
| 27 | #else |
| 28 | # include <termios.h> |
| 29 | #endif |
| 30 | |
| 31 | /* |
| @@ -41,10 +40,11 @@ | |
| 41 | int si, sk, i, k; |
| 42 | int doIndent = 0; |
| 43 | char *zBuf; |
| 44 | char zBuffer[400]; |
| 45 | int lineCnt = 0; |
| 46 | #if defined(_WIN32) |
| 47 | if( lineLength<0 ){ |
| 48 | CONSOLE_SCREEN_BUFFER_INFO csbi; |
| 49 | memset(&csbi, 0, sizeof(CONSOLE_SCREEN_BUFFER_INFO)); |
| 50 | if( GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi) ){ |
| 51 |
| --- src/comformat.c | |
| +++ src/comformat.c | |
| @@ -21,11 +21,10 @@ | |
| 21 | #include "config.h" |
| 22 | #include "comformat.h" |
| 23 | #include <assert.h> |
| 24 | #ifdef _WIN32 |
| 25 | # include <windows.h> |
| 26 | #else |
| 27 | # include <termios.h> |
| 28 | #endif |
| 29 | |
| 30 | /* |
| @@ -41,10 +40,11 @@ | |
| 40 | int si, sk, i, k; |
| 41 | int doIndent = 0; |
| 42 | char *zBuf; |
| 43 | char zBuffer[400]; |
| 44 | int lineCnt = 0; |
| 45 | |
| 46 | #if defined(_WIN32) |
| 47 | if( lineLength<0 ){ |
| 48 | CONSOLE_SCREEN_BUFFER_INFO csbi; |
| 49 | memset(&csbi, 0, sizeof(CONSOLE_SCREEN_BUFFER_INFO)); |
| 50 | if( GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &csbi) ){ |
| 51 |