• R/O
  • HTTP
  • SSH
  • HTTPS

handbrake-jp-git: Commit

githubのコードからのfolk


Commit MetaInfo

Revisiónbb51542a603ec0b8a2642e4a8cbb3856d677b6db (tree)
Tiempo2011-02-27 23:25:31
Autorsr55 <sr55@b64f...>
Commitersr55

Log Message

WinGui:
- Fix a possible crash on startup

git-svn-id: svn://localhost/HandBrake/trunk@3816 b64f7644-9d1e-0410-96f1-a4d463321fa5

Cambiar Resumen

Diferencia incremental

--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -295,7 +295,7 @@ namespace Handbrake.Functions
295295
296296 // Get the SHA1 Hash of HandBrakeCLI
297297 byte[] hash;
298- using (Stream stream = File.OpenRead("HandBrakeCLI.exe"))
298+ using (Stream stream = File.OpenRead(Path.Combine(Application.StartupPath, "HandBrakeCLI.exe")))
299299 {
300300 hash = SHA1.Create().ComputeHash(stream);
301301 }
Show on old repository browser