summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-20 14:39:38 +0200
committeraap <aap@papnet.eu>2019-07-20 14:39:38 +0200
commit60045ec6cd5fe5bd650cf62442283e50d4a4c233 (patch)
tree40844313ea09daa35f96c8b7da7c1ba3a6d302e6 /src/core/Pad.cpp
parentMerge pull request #149 from ShFil119/audio4 (diff)
downloadre3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.tar
re3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.tar.gz
re3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.tar.bz2
re3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.tar.lz
re3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.tar.xz
re3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.tar.zst
re3-60045ec6cd5fe5bd650cf62442283e50d4a4c233.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 1db50493..736e1e9d 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1824,7 +1824,7 @@ char *CPad::EditString(char *pStr, int32 nSize)
}
// numbers
- for ( int32 i = 0; i < ('0' - '9' + 1); i++ )
+ for ( int32 i = 0; i < ('9' - '0' + 1); i++ )
{
if ( GetPad(0)->GetCharJustDown(i + '0') && pos < nSize - 1 )
{