[Refdb-cvs] CVS: refdb/src refdbdnote.c,1.12,1.13
Status: Beta
Brought to you by:
mhoenicka
|
From: Markus H. <mho...@us...> - 2004-01-04 01:57:39
|
Update of /cvsroot/refdb/refdb/src
In directory sc8-pr-cvs1:/tmp/cvs-serv32093
Modified Files:
refdbdnote.c
Log Message:
getnote(): use database-derived encoding in rendinfo unless user overrides it
Index: refdbdnote.c
===================================================================
RCS file: /cvsroot/refdb/refdb/src/refdbdnote.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -U2 -r1.12 -r1.13
--- refdbdnote.c 3 Jan 2004 20:11:43 -0000 1.12
+++ refdbdnote.c 4 Jan 2004 01:57:31 -0000 1.13
@@ -1877,4 +1877,7 @@
rendinfo.ptr_ref = &sql_command;
rendinfo.ptr_ref_len = &sql_command_len;
+ if (!*(rendinfo.ptr_biblio_info->encoding)) {
+ rendinfo.ptr_biblio_info->encoding = dbi_conn_get_encoding(conn);
+ }
if ((new_sql_command = prepare_render_note(&rendinfo)) == NULL) {
|