Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb71fba2

Browse files
committed
New entab version.
1 parent723f660 commitb71fba2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/tools/entab/entab.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
**entab.c- add tabs to a text file
33
**by Bruce Momjian (root@candle.pha.pa.us)
44
**
5-
** version 1.1
5+
** version 1.2
66
**
77
**tabsize = 4
88
**
@@ -98,6 +98,7 @@ char **argv;
9898
if (escaped== FALSE)
9999
quote_char=' ';
100100
escaped= FALSE;
101+
101102
while (*src!=NUL)
102103
{
103104
col_in_tab++;
@@ -150,6 +151,11 @@ char **argv;
150151
*(dst++)=' ';
151152
}
152153
}
154+
else
155+
{
156+
*(dst++)=*src;
157+
prv_spaces=0;
158+
}
153159
}
154160
}
155161
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp