From f7b36c56efea8d43e596b4bf86ed31e8f82ff814 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 24 Aug 2006 15:21:54 +0000 Subject: [PATCH] Fixed #1765. --- livesupport/src/products/gLiveSupport/src/UploadFileWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livesupport/src/products/gLiveSupport/src/UploadFileWindow.cxx b/livesupport/src/products/gLiveSupport/src/UploadFileWindow.cxx index e7cd22430..ddb37982b 100644 --- a/livesupport/src/products/gLiveSupport/src/UploadFileWindow.cxx +++ b/livesupport/src/products/gLiveSupport/src/UploadFileWindow.cxx @@ -562,7 +562,7 @@ UploadFileWindow :: determineFileType(Ptr::Ref fileName) return invalidType; } - std::string extension = fileName->substr(dotPosition); + Glib::ustring extension = fileName->substr(dotPosition).lowercase(); if (extension == ".mp3" || extension == ".ogg") { return audioClipType;