[sword-svn] r3864 - trunk/src/keys
scribe at crosswire.org
scribe at crosswire.org
Sat Jul 31 06:20:47 EDT 2021
Author: scribe
Date: 2021-07-31 06:20:47 -0400 (Sat, 31 Jul 2021)
New Revision: 3864
Modified:
trunk/src/keys/listkey.cpp
Log:
Updated missed ListKey return value to use ERROR define instead of magic number
Modified: trunk/src/keys/listkey.cpp
===================================================================
--- trunk/src/keys/listkey.cpp 2021-07-29 13:37:28 UTC (rev 3863)
+++ trunk/src/keys/listkey.cpp 2021-07-31 10:20:47 UTC (rev 3864)
@@ -376,7 +376,7 @@
}
}
if (arraypos >= arraycnt) {
- error = 1;
+ error = KEYERR_OUTOFBOUNDS;
arraypos = arraycnt-1;
}
More information about the sword-cvs
mailing list