Changeset c55930e for zephyr.c


Ignore:
Timestamp:
Sep 19, 2013, 6:46:27 PM (8 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master
Children:
1598444, 076ef61, 6f87658, f8a138c
Parents:
41064be
git-author:
Anders Kaseorg <andersk@mit.edu> (09/19/13 18:44:25)
git-committer:
Anders Kaseorg <andersk@mit.edu> (09/19/13 18:46:27)
Message:
Show Zephyr charset in info popup

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r441fd42 rc55930e  
    11051105  g_free(filename);
    11061106}
     1107
     1108#ifdef HAVE_LIBZEPHYR
     1109const char *owl_zephyr_get_charsetstr(const ZNotice_t *n)
     1110{
     1111#ifdef ZCHARSET_UTF_8
     1112  return ZCharsetToString(n->z_charset);
     1113#else
     1114  return "";
     1115#endif
     1116}
     1117#else
     1118const char *owl_zephyr_get_charsetstr(const void *n)
     1119{
     1120  return "";
     1121}
     1122#endif
    11071123
    11081124/* return auth string */
Note: See TracChangeset for help on using the changeset viewer.