From 07c0318493eb752d0251eb1d6d29fc6931b4b3ae Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Fri, 17 Jul 2009 06:43:27 +0000 Subject: [PATCH] Fixed compile errors git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1178 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/System/Unicode.inl | 2 +- src/SFML/Audio/AudioDevice.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/SFML/System/Unicode.inl b/include/SFML/System/Unicode.inl index 368f7a02..779d244a 100644 --- a/include/SFML/System/Unicode.inl +++ b/include/SFML/System/Unicode.inl @@ -75,7 +75,7 @@ inline Out Unicode::ANSIToUTF32(In begin, In end, Out output, const std::locale& { wchar_t character = 0; mbtowc(&character, &*begin, 1); - Begin++; + begin++; *output++ = static_cast(character); } diff --git a/src/SFML/Audio/AudioDevice.cpp b/src/SFML/Audio/AudioDevice.cpp index ad8f4b18..1b96c097 100644 --- a/src/SFML/Audio/AudioDevice.cpp +++ b/src/SFML/Audio/AudioDevice.cpp @@ -26,7 +26,6 @@ // Headers //////////////////////////////////////////////////////////// #include -#include #include #include #include