summaryrefslogtreecommitdiff
path: root/appl/charon/img.b
diff options
context:
space:
mode:
Diffstat (limited to 'appl/charon/img.b')
-rw-r--r--appl/charon/img.b6
1 files changed, 3 insertions, 3 deletions
diff --git a/appl/charon/img.b b/appl/charon/img.b
index fd8b625d..299ddeeb 100644
--- a/appl/charon/img.b
+++ b/appl/charon/img.b
@@ -161,7 +161,7 @@ imgerror(is: ref ImageSource, msg: string)
is.err = msg;
if(dbg)
sys->print("Image error: %s\n", msg);
- CU->raisex("exImageerror:");
+ raise "exImageerror:";
}
# Get next char or raise exception if cannot
@@ -179,7 +179,7 @@ getc(is: ref ImageSource) : int
ungetc(is: ref ImageSource)
{
if(is.i == 0)
- CU->raisex("EXInternal: ungetc past beginning of buffer");
+ raise "EXInternal: ungetc past beginning of buffer";
is.i--;
}
@@ -190,7 +190,7 @@ ungetc2(is: ref ImageSource, nil: byte)
{
if(is.i < 2) {
if(is.i != 1)
- CU->raisex("EXInternal: ungetc2 past beginning of buffer");
+ raise "EXInternal: ungetc2 past beginning of buffer";
is.i = 0;
}
else