diff src/getidblock.c @ 298:201464dd356e

add default character set for items where the pst file does not specify a character set
author Carl Byington <carl@five-ten-sg.com>
date Tue, 02 Aug 2011 17:02:39 -0700
parents 4573b536177f
children 26c48ea9d896
line wrap: on
line diff
--- a/src/getidblock.c	Thu Jul 28 17:28:49 2011 -0700
+++ b/src/getidblock.c	Tue Aug 02 17:02:39 2011 -0700
@@ -117,7 +117,7 @@
 
     DEBUG_INFO(("Opening file\n"));
     memset(&pstfile, 0, sizeof(pstfile));
-    if (pst_open(&pstfile, fname)) {
+    if (pst_open(&pstfile, fname, NULL)) {
         DIE(("Error opening file\n"));
     }