[hitori] core: Remove a redundant assignment



commit b93cfd3a0132a7596426b7af31e7b14ecc049644
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Tue May 6 11:52:33 2014 +0100

    core: Remove a redundant assignment

 src/interface.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/interface.c b/src/interface.c
index 16ce8bb..aaa1322 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -316,8 +316,6 @@ hitori_button_release_cb (GtkWidget *drawing_area, GdkEventButton *event, Hitori
        /* Clamp the width/height to the minimum */
        if (height < width)
                width = height;
-       else if (width < height)
-               height = width;
 
        cell_size = width / hitori->board_size;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]