summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Anthony <johnanthony@lavabit.com>2012-01-02 00:54:58 +0000
committerJohn Anthony <johnanthony@lavabit.com>2012-01-02 00:54:58 +0000
commit87e9a4186a96aac77aa0b102960e889c71ceaf47 (patch)
tree6f434af1ac6716ae30c78c91f0c60c6628e2f0dd
parent3c2d35d2a08e93d4638090d1e21fbc163e5ce679 (diff)
downloadnyancat-87e9a4186a96aac77aa0b102960e889c71ceaf47.tar.gz
nyancat-87e9a4186a96aac77aa0b102960e889c71ceaf47.tar.bz2
nyancat-87e9a4186a96aac77aa0b102960e889c71ceaf47.zip
removed superfluous if statement (credit: auREAX)
-rw-r--r--nyan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nyan.c b/nyan.c
index 261c23f..ab3d300 100644
--- a/nyan.c
+++ b/nyan.c
@@ -341,8 +341,6 @@ init(void) {
if(catsize == 1)
add_cat(0, (screen->h - image_set[0]->h) / 2);
else {
- if(catsize == 1)
- stretch_images();
add_cat((screen->w - cat_img[0]->w) / 2, (screen->h - cat_img[0]->h) / 2);
}
#endif /* Xinerama */