# HG changeset patch
# User insilmaril
# Date 1215779800 0
# Node ID 191a6e3968031a119a905948d30f1ed49ac91025
# Parent c7f2d53c98d1d86d5f0e07489790a787057eaf5f
Fix for umlauts in paths
diff -r c7f2d53c98d1 -r 191a6e396803 lang/vym_de.ts
--- a/lang/vym_de.ts Fri Jul 11 12:36:39 2008 +0000
+++ b/lang/vym_de.ts Fri Jul 11 12:36:40 2008 +0000
@@ -1838,7 +1838,7 @@
- Diese Map gibt es nich:
+ Diese Map gibt es nicht:
%1
Wollen Sie eine neue anlegen?
diff -r c7f2d53c98d1 -r 191a6e396803 tex/vym.changelog
--- a/tex/vym.changelog Fri Jul 11 12:36:39 2008 +0000
+++ b/tex/vym.changelog Fri Jul 11 12:36:40 2008 +0000
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Jul 11 14:01:31 CEST 2008 - uwedr@suse.de
+
+- Bugfix: bnc#407600 vym fails with non-ASCI characters in path names
+
-------------------------------------------------------------------
Tue Jun 8 10:34:12 CEST 2008 - uwedr@suse.de
diff -r c7f2d53c98d1 -r 191a6e396803 xml-vym.cpp
--- a/xml-vym.cpp Fri Jul 11 12:36:39 2008 +0000
+++ b/xml-vym.cpp Fri Jul 11 12:36:40 2008 +0000
@@ -150,8 +150,8 @@
// Treat the found mapcenter as a branch
// in an existing map
LinkableMapObj* lmo=model->getSelection();
- if (lmo && (typeid(*lmo) == typeid(BranchObj) )
- || (typeid(*lmo) == typeid(MapCenterObj) ) )
+ if (lmo && ((typeid(*lmo) == typeid(BranchObj) )
+ || typeid(*lmo) == typeid(MapCenterObj) ) )
{
lastBranch=(BranchObj*)lmo;
if (loadMode==ImportAdd)
@@ -207,8 +207,8 @@
loadMode=ImportAdd;
lmo=model->first(); // FIXME this used to be lmo=mc before
}
- if (lmo && (typeid(*lmo) == typeid(BranchObj) )
- || (typeid(*lmo) == typeid(MapCenterObj) ) )
+ if (lmo && ((typeid(*lmo) == typeid(BranchObj) )
+ || typeid(*lmo) == typeid(MapCenterObj) ) )
{
lastBranch=(BranchObj*)(lmo);
if (eName=="branch")