Roxen.git/
server/
modules/
graphics/
graphic_text.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1997-11-09
1997-11-09 18:29:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
b4da8eb12e6a3cb4e97eaaf78c523f46ece21050 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed minor bug.
Rev: server/modules/graphics/graphic_text.pike:1.92
1:
-
constant cvs_version="$Id: graphic_text.pike,v 1.
91
1997/
10
/
27
08
:
32
:
42
per
Exp $";
+
constant cvs_version="$Id: graphic_text.pike,v 1.
92
1997/
11
/
09
18
:
29
:
37
grubba
Exp $";
constant thread_safe=1; #include <module.h>
246:
if(!(file=open(f,"r")) || (!(data=file->read()))) return 0; //werror("Read "+strlen(data)+" bytes.\n");
-
if(!img->frompnm(data)) return 0;
+
if
(
catch { if(
!img->frompnm(data)) return 0;
}) return 0;
last_image = img; last_image_name = f; return img->copy(); }