diff src/geo.c @ 822:586e50f82c1f

Unify coding style tag for emacs and vim.
author Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
date Tue, 14 Sep 2010 01:08:39 +0800
parents 65cabbdd5284
children
line wrap: on
line diff
--- a/src/geo.c	Tue Sep 14 00:25:44 2010 +0800
+++ b/src/geo.c	Tue Sep 14 01:08:39 2010 +0800
@@ -1,3 +1,5 @@
+// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
+// vim: sw=4:ts=8:sts=4
 /*! \brief Determine who should be re-drawed.
  * \file
  * When part of graphic are chagned, not mater size, shape, or position,
@@ -23,7 +25,7 @@
     if(is_scale_overlay(r1->x, r1->w, r2->x, r2->w) &&
        is_scale_overlay(r1->y, r1->h, r2->y, r2->h))
 	return 1;
-    
+
     return 0;
 }
 
@@ -36,7 +38,7 @@
     co_aix min_y, max_y;
     co_aix x, y;
     int i;
-    
+
     /*! \note {x=0, y=0, w=0, h=0} geometry value for a n_pos=0 request
      * can prevent cursor flasing for Cairo XLib.
      * (see changeset 21db69d46835)
@@ -102,7 +104,7 @@
 	{33, 25}, {49, 12},
 	{14, 28}, {39, 56}};
     geo_t g;
-    
+
     geo_init(&g);
     geo_from_positions(&g, 4, data);
     CU_ASSERT(g.cur_area->x == 14);