From e5236919103d5815914657172de9e09f33613d83 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Sun, 3 Nov 2013 12:46:54 +0100
Subject: [PATCH] Avoid 8bit characters in error messages

clang assumes the code is UTF-8, which makes this an invalid string
---
 src/modules/Image/encodings/_xpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/Image/encodings/_xpm.c b/src/modules/Image/encodings/_xpm.c
index c4c3974076..efab361002 100644
--- a/src/modules/Image/encodings/_xpm.c
+++ b/src/modules/Image/encodings/_xpm.c
@@ -263,7 +263,7 @@ void f__xpm_write_rows( INT32 args )
   iimg = (struct image *)get_storage( img, image_program );
   ialpha = (struct image *)get_storage( alpha, image_program );
   if(!iimg || !ialpha)
-    Pike_error("Sluta pilla p� interna saker..\n");
+    Pike_error("Expected images as arguments\n");
 
   if (pixels->size < iimg->ysize + colors->size) {
     SIMPLE_ARG_ERROR("_xpm_write_rows", 5, "pixel array is too short.");
-- 
GitLab