use scm_from_latin1_symboln for string literals and load-symbol
[bpt/guile.git] / libguile / vm-i-loader.c
index a9326c9..fae39fb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001,2008,2009,2010 Free Software Foundation, Inc.
+/* Copyright (C) 2001,2008,2009,2010,2011 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 License
@@ -52,7 +52,7 @@ VM_DEFINE_LOADER (103, load_symbol, "load-symbol")
   FETCH_LENGTH (len);
   SYNC_REGISTER ();
   /* FIXME: should be scm_from_latin1_symboln */
-  PUSH (scm_from_locale_symboln ((const char*)ip, len));
+  PUSH (scm_from_latin1_symboln ((const char*)ip, len));
   ip += len;
   NEXT;
 }