updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rasterbator / rasterbator.patch
blob52b0459162121dba34d433da375f948f1a76bfdb
1 @@ -1407,8 +1407,8 @@
3 void MainFormLoad(object sender, System.EventArgs e) {
4 ApplicationDirectory=Assembly.GetExecutingAssembly().CodeBase;
5 - ApplicationDirectory=ApplicationDirectory.Replace("file:///","").Replace("/","\\");
6 - ApplicationDirectory=ApplicationDirectory.Substring(0, ApplicationDirectory.LastIndexOf("\\")+1);
7 + ApplicationDirectory=ApplicationDirectory.Replace("file:///","/").Replace("%20", " ");
8 + ApplicationDirectory=ApplicationDirectory.Substring(0, ApplicationDirectory.LastIndexOf("/")+1);
9 if(!CheckFile(ApplicationDirectory, "itextsharp.dll")) {
10 Close();
11 return;
12 @@ -1713,7 +1713,7 @@
14 void Button9Click(object sender, System.EventArgs e)
16 - string WorkDir=textBox2.Text.Substring(0, textBox2.Text.LastIndexOf("\\")+1);
17 + string WorkDir=textBox2.Text.Substring(0, textBox2.Text.LastIndexOf("/")+1);
18 try {
19 Directory.CreateDirectory(WorkDir);
20 } catch(Exception E) {