tweaks: remove an inconsistent space from two pointer declarations
Reported-by: Brand Huntsman <alpha@qzx.com>
Этот коммит содержится в:
родитель
336fa40055
Коммит
dcda98fb73
@ -361,7 +361,7 @@ char *do_browse_from(const char *inpath)
|
|||||||
path = free_and_assign(path, strip_last_component(path));
|
path = free_and_assign(path, strip_last_component(path));
|
||||||
|
|
||||||
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
|
if (stat(path, &st) == -1 || !S_ISDIR(st.st_mode)) {
|
||||||
char * currentdir = charalloc(PATH_MAX + 1);
|
char *currentdir = charalloc(PATH_MAX + 1);
|
||||||
|
|
||||||
free(path);
|
free(path);
|
||||||
path = getcwd(currentdir, PATH_MAX + 1);
|
path = getcwd(currentdir, PATH_MAX + 1);
|
||||||
|
@ -1506,7 +1506,7 @@ bool do_wrap(filestruct *line)
|
|||||||
/* The length of the remainder. */
|
/* The length of the remainder. */
|
||||||
|
|
||||||
size_t old_x = openfile->current_x;
|
size_t old_x = openfile->current_x;
|
||||||
filestruct * old_line = openfile->current;
|
filestruct *old_line = openfile->current;
|
||||||
|
|
||||||
/* There are three steps. First, we decide where to wrap. Then, we
|
/* There are three steps. First, we decide where to wrap. Then, we
|
||||||
* create the new wrap line. Finally, we clean up. */
|
* create the new wrap line. Finally, we clean up. */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user