* util.c (save_file_position): Only save the position if not
at the beginning of the file (1;0).
Этот коммит содержится в:
родитель
20bc9ef7f9
Коммит
2bf2f0c38d
@ -1,3 +1,8 @@
|
|||||||
|
2005-07-23 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
|
* util.c (save_file_position): Only save the position if not
|
||||||
|
at the beginning of the file (1;0).
|
||||||
|
|
||||||
2005-07-22 Roland Illig <roland.illig@gmx.de>
|
2005-07-22 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* charsets.c: Fixed wrong comparison of the result of iconv().
|
* charsets.c: Fixed wrong comparison of the result of iconv().
|
||||||
|
@ -1394,7 +1394,9 @@ save_file_position (const char *filename, long line, long column)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* put the new record */
|
/* put the new record */
|
||||||
fprintf (t, "%s %ld;%ld\n", filename, line, column);
|
if (line != 1 || column != 0) {
|
||||||
|
fprintf (t, "%s %ld;%ld\n", filename, line, column);
|
||||||
|
}
|
||||||
|
|
||||||
/* copy records from the old file */
|
/* copy records from the old file */
|
||||||
f = fopen (fn, "r");
|
f = fopen (fn, "r");
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user