(scm_error_pair_access): Use scm_from_locale_string rather
authorKevin Ryde <user42@zip.com.au>
Mon, 11 Jul 2005 23:50:45 +0000 (23:50 +0000)
committerKevin Ryde <user42@zip.com.au>
Mon, 11 Jul 2005 23:50:45 +0000 (23:50 +0000)
than scm_makfrom0str.
Reported by Ken Raeburn.

libguile/pairs.c

index 31e845f..03b9cbb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,2000,2001, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,2000,2001, 2004, 2005 Free Software Foundation, Inc.
  * 
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -36,7 +36,7 @@
 void scm_error_pair_access (SCM non_pair)
 {
   static unsigned int running = 0;
-  SCM message = scm_makfrom0str ("Non-pair accessed with SCM_C[AD]R: `~S´\n");
+  SCM message = scm_from_locale_string ("Non-pair accessed with SCM_C[AD]R: `~S´\n");
 
   if (!running)
     {