| changeset 246 | e27e6519c856 |
| parent 240 | 1360e8aa47d7 |
| child 254 | 7c39a88ceaa3 |
1.1 --- a/core/vm/sp_vm_basecontext.cpp Mon Jan 01 03:40:17 2007 +0000 1.2 +++ b/core/vm/sp_vm_basecontext.cpp Mon Jan 01 03:40:29 2007 +0000 1.3 @@ -767,7 +767,8 @@ 1.4 return SP_ERROR_NOT_FOUND; 1.5 } 1.6 1.7 - *line = ctx->lines[low].line; 1.8 + /* Since the CIP occurs BEFORE the line, we have to add one */ 1.9 + *line = ctx->lines[low].line + 1; 1.10 1.11 return SP_ERROR_NONE; 1.12 }