Krolyxon
Commit f71ea09

Branches

Refs →

nsxivf71ea09

Fixed indentation

Author
Bert
Date
2011-02-14 17:53 +0100
Parent
26cc5af
Commit
f71ea095bc11dbc00eb1a27a67eb07d36324213f

+4 −4

1 file changed

  1. M main.c +4 −4
M main.c View
@@ -139,8 +139,8 @@ void update_title() {
139139 size = filesize;
140140 size_readable(&size, &unit);
141141 n = snprintf(win_title, TITLE_LEN, "sxiv: [%d/%d] <%d%%> (%.2f%s) %s",
142− fileidx + 1, filecnt, (int) (img.zoom * 100.0), size, unit,
143− filenames[fileidx]);
142+ fileidx + 1, filecnt, (int) (img.zoom * 100.0), size, unit,
143+ filenames[fileidx]);
144144 } else {
145145 n = snprintf(win_title, TITLE_LEN, "sxiv: [%d/%d] broken: %s",
146146 fileidx + 1, filecnt, filenames[fileidx]);
@@ -163,7 +163,7 @@ int check_append(const char *filename) {
163163 if (fileidx == filecnt) {
164164 filecnt *= 2;
165165 filenames = (const char**) s_realloc(filenames,
166− filecnt * sizeof(const char*));
166+ filecnt * sizeof(const char*));
167167 }
168168 filenames[fileidx++] = filename;
169169 return 1;
@@ -207,7 +207,7 @@ void read_dir_rec(const char *dirname) {
207207 if (diridx == dircnt) {
208208 dircnt *= 2;
209209 dirnames = (const char**) s_realloc(dirnames,
210− dircnt * sizeof(const char*));
210+ dircnt * sizeof(const char*));
211211 }
212212 dirnames[diridx++] = filename;
213213 } else {