[gnome-commander] noop: code cleanup



commit 63bec98cc1cf70a3dda24fe741c5100c9321b089
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jul 24 23:00:16 2011 +0200

    noop: code cleanup

 src/intviewer/text-render.cc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/intviewer/text-render.cc b/src/intviewer/text-render.cc
index 7085681..5098f92 100644
--- a/src/intviewer/text-render.cc
+++ b/src/intviewer/text-render.cc
@@ -1598,7 +1598,7 @@ static void text_mode_copy_to_clipboard(TextRender *obj, offset_type start_offse
     g_return_if_fail (obj->priv->dp!=NULL);
     g_return_if_fail (obj->priv->im!=NULL);
 
-    GtkClipboard *clip = gtk_clipboard_get_for_display(gdk_display_get_default(), GDK_SELECTION_CLIPBOARD);
+    GtkClipboard *clip = gtk_clipboard_get_for_display (gdk_display_get_default (), GDK_SELECTION_CLIPBOARD);
     g_return_if_fail (clip!=NULL);
 
     text_render_utf8_clear_buf(obj);
@@ -1721,7 +1721,7 @@ static int binary_mode_display_line(TextRender *w, int y, int column, offset_typ
         marker_start = temp;
     }
 
-    show_marker = (marker_start!=marker_end);
+    show_marker = marker_start!=marker_end;
     text_render_utf8_clear_buf(w);
 
     current = start_of_line;
@@ -1802,7 +1802,7 @@ static offset_type hex_mode_pixel_to_offset(TextRender *obj, int x, int y, gbool
         else
         {
             // the user selected the ascii portion
-            column = (column-10-16*3);
+            column = column-10-16*3;
             obj->priv->hexmode_marker_on_hexdump = FALSE;
         }
     }
@@ -1846,7 +1846,7 @@ static void hex_mode_copy_to_clipboard(TextRender *obj, offset_type start_offset
         return;
     }
 
-    GtkClipboard *clip = gtk_clipboard_get_for_display(gdk_display_get_default(), GDK_SELECTION_CLIPBOARD);
+    GtkClipboard *clip = gtk_clipboard_get_for_display (gdk_display_get_default (), GDK_SELECTION_CLIPBOARD);
     g_return_if_fail (clip!=NULL);
 
     text_render_utf8_clear_buf(obj);



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