gnome-commander r1950 - branches/gcmd-1-3/src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1950 - branches/gcmd-1-3/src
- Date: Wed, 6 Aug 2008 20:33:38 +0000 (UTC)
Author: epiotr
Date: Wed Aug 6 20:33:38 2008
New Revision: 1950
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1950&view=rev
Log:
Code cleanup
Modified:
branches/gcmd-1-3/src/gnome-cmd-dir-indicator.cc
Modified: branches/gcmd-1-3/src/gnome-cmd-dir-indicator.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-dir-indicator.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-dir-indicator.cc Wed Aug 6 20:33:38 2008
@@ -91,9 +91,8 @@
const gchar *labelText = gtk_label_get_text (GTK_LABEL (indicator->priv->label));
gchar *chTo = g_strdup(labelText);
gint x = (gint) event->x;
- gint i;
- for (i = 0; i < indicator->priv->numPositions; i++)
+ for (gint i = 0; i < indicator->priv->numPositions; i++)
if (x < indicator->priv->slashPixelPosition[i])
{
strncpy (chTo, labelText, indicator->priv->slashCharPosition[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]