--- a/trunk/guilib/GUIInfoTypes.cpp
+++ b/trunk/guilib/GUIInfoTypes.cpp
@@ -236,7 +236,7 @@
     {
       CStdString left = work.Left(pos1);
       CStdString right = work.Mid(pos2 + 1);
-      int length = work.Find(" ") - (pos1 + 7);
+      int length = work.Find(" ", pos1 + 7) - (pos1 + 7);
       CStdString id = work.substr(pos1+7, length);
       int stringid = atoi(work.substr(pos1+7+id.length()+1, 5).c_str());
       CStdString replace = CAddonMgr::Get().GetString(id, stringid);