about summary refs log tree commit diff
path: root/urt/rle_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'urt/rle_error.c')
-rw-r--r--urt/rle_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/urt/rle_error.c b/urt/rle_error.c
index da314f0b..702c6e2d 100644
--- a/urt/rle_error.c
+++ b/urt/rle_error.c
@@ -46,7 +46,7 @@ int
 rle_alloc_error( pgm, name )
 CONST_DECL char *pgm, *name;
 {
-    if ( name )
+    if ( !name )
 	fprintf( stderr, "%s: memory allocation failed.\n", pgm );
     else
 	fprintf( stderr, "%s: memory allocation failed (no space for %s).\n",