From f3a3d3fa35d0e8e0458cc1d9bec089624320e072 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 3 Aug 2006 02:45:09 +0000
Subject: [PATCH] Bug-fix: only allowed 7 digits when editing credit value of
 file (reported by Cyberdine) - increased to 10 digits.

---
 src/sbbs3/listfile.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/listfile.cpp b/src/sbbs3/listfile.cpp
index 54fbc29e3d..07a99756ea 100644
--- a/src/sbbs3/listfile.cpp
+++ b/src/sbbs3/listfile.cpp
@@ -8,7 +8,7 @@
  * @format.tab-size 4		(Plain Text/Source Code File Header)			*
  * @format.use-tabs true	(see http://www.synchro.net/ptsc_hdr.html)		*
  *																			*
- * Copyright 2005 Rob Swindell - http://www.synchro.net/copyright.html		*
+ * Copyright 2006 Rob Swindell - http://www.synchro.net/copyright.html		*
  *																			*
  * This program is free software; you can redistribute it and/or			*
  * modify it under the terms of the GNU General Public License				*
@@ -1018,7 +1018,7 @@ int sbbs_t::listfileinfo(uint dirnum, char *filespec, long mode)
 						break;
 					ultoa(f.cdt,str,10);
 					bputs(text[EditCreditValue]);
-					getstr(str,7,K_NUMBER|K_EDIT|K_AUTODEL);
+					getstr(str,10,K_NUMBER|K_EDIT|K_AUTODEL);
 					if(sys_status&SS_ABORT)
 						break;
 					f.cdt=atol(str);
-- 
GitLab