summaryrefslogtreecommitdiff
path: root/src/core/xbmemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/xbmemo.cpp')
-rwxr-xr-xsrc/core/xbmemo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/xbmemo.cpp b/src/core/xbmemo.cpp
index 02bdbbf..2bde853 100755
--- a/src/core/xbmemo.cpp
+++ b/src/core/xbmemo.cpp
@@ -94,7 +94,7 @@ xbInt16 xbMemo::GetHdrNextBlock( xbUInt32 & ulBlockNo ){
xbInt16 iErrorStop = 0;
try{
if(( iRc = ReadDbtHeader( 0 )) != XB_NO_ERROR ){
- iErrorStop = 10;
+ iErrorStop = 100;
throw iRc;
}
ulBlockNo = ulHdrNextBlock;
@@ -133,7 +133,7 @@ xbInt16 xbMemo::LockMemo( xbInt16 iLockFunction ){
if( iRc == XB_LOCK_FAILED )
return iRc;
else {
- iErrorStop = 120;
+ iErrorStop = 100;
throw iRc;
}
} else {
@@ -151,7 +151,7 @@ xbInt16 xbMemo::LockMemo( xbInt16 iLockFunction ){
if( iRc == XB_LOCK_FAILED )
return iRc;
else {
- iErrorStop = 140;
+ iErrorStop = 110;
throw iRc;
}
} else {
@@ -159,7 +159,7 @@ xbInt16 xbMemo::LockMemo( xbInt16 iLockFunction ){
}
}
} else {
- iErrorStop = 300;
+ iErrorStop = 120;
iRc = XB_INVALID_OPTION;
throw iRc;
}
@@ -197,11 +197,11 @@ xbInt16 xbMemo::UpdateHeadNextNode(){
char buf[4];
ePutUInt32( buf, ulHdrNextBlock );
if(( iRc = xbFseek( 0, SEEK_SET )) != XB_NO_ERROR ){
- iErrorStop = 10;
+ iErrorStop = 100;
throw iRc;
}
if(( iRc = xbFwrite( &buf, 4, 1 )) != XB_NO_ERROR ){
- iErrorStop = 20;
+ iErrorStop = 110;
throw iRc;
}
}