[gnome-commander/gcmd-1-3] Fixed problem with $c(16) counter formatting in advanced file rename templates
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-3] Fixed problem with $c(16) counter formatting in advanced file rename templates
- Date: Sat, 1 Aug 2009 14:32:42 +0000 (UTC)
commit a7c085a826cc9408b4dc5f85ff45d27de849a53d
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Aug 1 15:56:20 2009 +0200
Fixed problem with $c(16) counter formatting in advanced file rename templates
src/gnome-cmd-advrename-lexer.ll | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-advrename-lexer.ll b/src/gnome-cmd-advrename-lexer.ll
index 7d2b801..55cc17d 100644
--- a/src/gnome-cmd-advrename-lexer.ll
+++ b/src/gnome-cmd-advrename-lexer.ll
@@ -466,7 +466,7 @@ char *gnome_cmd_advrename_gen_fname (char *new_fname, size_t new_fname_size, Gno
{
static char counter_value[MAX_PRECISION+1];
- snprintf (counter_value, MAX_PRECISION, (*i)->counter.fmt, (*i)->counter.n);
+ snprintf (counter_value, MAX_PRECISION+1, (*i)->counter.fmt, (*i)->counter.n);
fmt += counter_value;
(*i)->counter.n += (*i)->counter.step;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]