projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4620cb5
)
WinGui:
author
sr55
<sr55.hb@outlook.com>
Sun, 27 Feb 2011 14:25:31 +0000
(14:25 +0000)
committer
sr55
<sr55.hb@outlook.com>
Sun, 27 Feb 2011 14:25:31 +0000
(14:25 +0000)
- Fix a possible crash on startup
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3816
b64f7644
-9d1e-0410-96f1-
a4d463321fa5
win/C#/Functions/Main.cs
patch
|
blob
|
history
diff --git
a/win/C#/Functions/Main.cs
b/win/C#/Functions/Main.cs
index 3b1e54631566b0eb6217318f158212630217aeaf..f78d38a97adb766d8e84a3876c2c525cfb1154ce 100644
(file)
--- a/
win/C#/Functions/Main.cs
+++ b/
win/C#/Functions/Main.cs
@@
-295,7
+295,7
@@
namespace Handbrake.Functions
\r
// Get the SHA1 Hash of HandBrakeCLI
\r
byte[] hash;
\r
- using (Stream stream = File.OpenRead(
"HandBrakeCLI.exe"
))
\r
+ using (Stream stream = File.OpenRead(
Path.Combine(Application.StartupPath, "HandBrakeCLI.exe")
))
\r
{
\r
hash = SHA1.Create().ComputeHash(stream);
\r
}
\r