From 01bebde87ae4c8e4baa754e9498cace9ee5a3a6c Mon Sep 17 00:00:00 2001 From: focus Date: Thu, 8 Dec 2011 15:11:38 +0000 Subject: [PATCH] Use ZapitTools::Latin1_to_UTF8 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1958 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/Makefile.am | 1 - src/system/settings.h | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/Makefile.am b/src/driver/Makefile.am index aec789c46..7e652002d 100644 --- a/src/driver/Makefile.am +++ b/src/driver/Makefile.am @@ -17,7 +17,6 @@ noinst_LIBRARIES = libneutrino_driver.a libneutrino_driver_netfile.a libneutrino_driver_a_SOURCES = \ abstime.c \ - encoding.cpp \ fontrenderer.cpp \ framebuffer.cpp \ fb_window.cpp \ diff --git a/src/system/settings.h b/src/system/settings.h index 862990db5..7ca4c9990 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -35,6 +35,7 @@ #include #include #include +#include #include @@ -420,7 +421,7 @@ struct SNeutrinoSettings int led_blink; #define FILESYSTEM_ENCODING_TO_UTF8(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a).c_str()) #define UTF8_TO_FILESYSTEM_ENCODING(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::UTF8_to_Latin1(a).c_str()) -#define FILESYSTEM_ENCODING_TO_UTF8_STRING(a) (g_settings.filesystem_is_utf8 ? (a) : Latin1_to_UTF8(a)) +#define FILESYSTEM_ENCODING_TO_UTF8_STRING(a) (g_settings.filesystem_is_utf8 ? (a) : ZapitTools::Latin1_to_UTF8(a)) #if 0