aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-14 17:53:46 +0100
committerBert <ber.t@gmx.com>2011-02-14 17:53:46 +0100
commitf71ea095bc11dbc00eb1a27a67eb07d36324213f (patch)
tree3c388d8792e5a587051e3caeee4f67dd94934b31 /main.c
parent26cc5aff69856caf01a925ee1357b3650d806d67 (diff)
Fixed indentation
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 35cf44a..225861a 100644
--- a/main.c
+++ b/main.c
@@ -139,8 +139,8 @@ void update_title() {
size = filesize;
size_readable(&size, &unit);
n = snprintf(win_title, TITLE_LEN, "sxiv: [%d/%d] <%d%%> (%.2f%s) %s",
- fileidx + 1, filecnt, (int) (img.zoom * 100.0), size, unit,
- filenames[fileidx]);
+ fileidx + 1, filecnt, (int) (img.zoom * 100.0), size, unit,
+ filenames[fileidx]);
} else {
n = snprintf(win_title, TITLE_LEN, "sxiv: [%d/%d] broken: %s",
fileidx + 1, filecnt, filenames[fileidx]);
@@ -163,7 +163,7 @@ int check_append(const char *filename) {
if (fileidx == filecnt) {
filecnt *= 2;
filenames = (const char**) s_realloc(filenames,
- filecnt * sizeof(const char*));
+ filecnt * sizeof(const char*));
}
filenames[fileidx++] = filename;
return 1;
@@ -207,7 +207,7 @@ void read_dir_rec(const char *dirname) {
if (diridx == dircnt) {
dircnt *= 2;
dirnames = (const char**) s_realloc(dirnames,
- dircnt * sizeof(const char*));
+ dircnt * sizeof(const char*));
}
dirnames[diridx++] = filename;
} else {