You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/tdelibs/tdelibs-3.5.13.2-fix-starti...

14 lines
475 B

diff --git a/tdeio/tdeio/kservice.cpp b/tdeio/tdeio/kservice.cpp
index 67031d0..a4c67f3 100644
--- a/kio/kio/kservice.cpp
+++ b/kio/kio/kservice.cpp
@@ -103,7 +103,7 @@ KService::init( KDesktopFile *config )
// extract prefix
kde4applicationprefix = config->fileName();
int pos = kde4applicationprefix.find("/share/applications/kde4/");
- kde4applicationprefix.truncate(pos-1);
+ kde4applicationprefix.truncate(pos);
}
config->setDesktopGroup();