Browse Source

Small refactoring

master
Bert 14 years ago
parent
commit
f52603b31a
2 changed files with 3 additions and 4 deletions
  1. +1
    -1
      Makefile
  2. +2
    -3
      main.c

+ 1
- 1
Makefile View File

@@ -1,6 +1,6 @@
all: sxiv

VERSION = git-20110606
VERSION = git-20110624

CC = gcc
DESTDIR =


+ 2
- 3
main.c View File

@@ -144,9 +144,8 @@ void update_title() {
}

if (n >= TITLE_LEN) {
win_title[TITLE_LEN - 2] = '.';
win_title[TITLE_LEN - 3] = '.';
win_title[TITLE_LEN - 4] = '.';
for (n = 0; n < 3; n++)
win_title[TITLE_LEN - n - 2] = '.';
}

win_set_title(&win, win_title);


Loading…
Cancel
Save