Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723f660 commit b71fba2Copy full SHA for b71fba2
src/tools/entab/entab.c
@@ -2,7 +2,7 @@
2
** entab.c - add tabs to a text file
3
** by Bruce Momjian ([email protected])
4
**
5
-** version 1.1
+** version 1.2
6
7
** tabsize = 4
8
@@ -98,6 +98,7 @@ char **argv;
98
if (escaped == FALSE)
99
quote_char = ' ';
100
escaped = FALSE;
101
+
102
while (*src != NUL)
103
{
104
col_in_tab++;
@@ -150,6 +151,11 @@ char **argv;
150
151
*(dst++) = ' ';
152
}
153
154
+ else
155
+ {
156
+ *(dst++) = *src;
157
+ prv_spaces = 0;
158
+ }
159
160
161
else
0 commit comments