KDE/kdelibs/kdecore/services
Paulo Moura Guedes
moura at kdewebdev.org
Mon Nov 5 16:32:44 CET 2007
SVN commit 733109 by mojo:
Fix build for win32, GetDriveType receives a LPCTSTR parameter.
CCMAIL: kde-windows at kde.org
M +1 -1 kmimetype.cpp
--- trunk/KDE/kdelibs/kdecore/services/kmimetype.cpp #733108:733109
@@ -206,7 +206,7 @@
// FIXME: distinguish between mounted & unmounted
int size = path.size();
if ( size == 2 || size == 3 ) {
- unsigned int type = GetDriveType( (LPCWSTR) path.utf16() );
+ unsigned int type = GetDriveType( (LPCTSTR) path.utf16() );
switch( type ) {
case DRIVE_REMOVABLE:
return KMimeType::mimeType( "media/floppy_mounted" );
More information about the Kde-windows
mailing list