[gnome-commander] Fixed problem #631243 (advrename $c(width) regression)



commit 15c83a4ceba8a9dedca7ba326b20db922a38b6cf
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Oct 8 22:06:39 2010 +0200

    Fixed problem #631243 (advrename $c(width) regression)

 NEWS                             |    2 +-
 doc/C/gnome-commander.xml        |    2 +-
 src/gnome-cmd-advrename-lexer.ll |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 68c0127..4d3e906 100644
--- a/NEWS
+++ b/NEWS
@@ -31,7 +31,7 @@ gnome-commander 1.2.8.9
 ---------------
 
 Bug fixes:
- * ...
+ * Fixed problem #631243 (advrename $c(width) regression)
 
 New features:
  * Support for shell-style wildcards in quick search
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 990f957..a1c8917 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -7477,7 +7477,7 @@
                 <para>
                     <itemizedlist>
                         <listitem>
-                            <para>...</para>
+                            <para>Fixed problem #631243 (advrename $c(width) regression)</para>
                         </listitem>
                     </itemizedlist>
                 </para>
diff --git a/src/gnome-cmd-advrename-lexer.ll b/src/gnome-cmd-advrename-lexer.ll
index 602fa7d..98f8033 100644
--- a/src/gnome-cmd-advrename-lexer.ll
+++ b/src/gnome-cmd-advrename-lexer.ll
@@ -321,7 +321,7 @@ void gnome_cmd_advrename_reset_counter(long start, int precision, int step)
     {
       (*i)->counter.n = (*i)->counter.start = start;
       (*i)->counter.step = (*i)->counter.init_step==GLOBAL_COUNTER_STEP ? step : (*i)->counter.init_step;
-      (*i)->counter.prec = (*i)->counter.init_step==GLOBAL_COUNTER_PREC ? precision : (*i)->counter.init_prec;
+      (*i)->counter.prec = (*i)->counter.init_prec==GLOBAL_COUNTER_PREC ? precision : (*i)->counter.init_prec;
       sprintf((*i)->counter.fmt,"%%0%ili",(*i)->counter.prec);
     }
 }



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