mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2025-01-31 21:11:39 +01:00
Work on #6934
This commit is contained in:
parent
689ca1337e
commit
f017adda95
@ -99,7 +99,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
private void ButtonShowEarlierClick(object sender, EventArgs e)
|
||||
{
|
||||
TimeCode tc = timeUpDownAdjust.TimeCode;
|
||||
var tc = timeUpDownAdjust.TimeCode;
|
||||
if (tc != null && tc.TotalMilliseconds > 0)
|
||||
{
|
||||
_adjustCallback.Invoke(-tc.TotalMilliseconds, GetSelectionChoice());
|
||||
|
@ -379,6 +379,18 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers.MpcHC
|
||||
return path;
|
||||
}
|
||||
|
||||
path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), $@"K-Lite\{prefix.ToUpperInvariant()}\{fileName}");
|
||||
if (File.Exists(path))
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), $@"K-Lite\{prefix.ToUpperInvariant()}64\{fileName}");
|
||||
if (File.Exists(path))
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
path = $@"C:\Program Files (x86)\{prefix.ToUpperInvariant()}\{fileName}";
|
||||
if (File.Exists(path))
|
||||
{
|
||||
@ -446,6 +458,12 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers.MpcHC
|
||||
return path;
|
||||
}
|
||||
|
||||
path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), $@"K-Lite\{prefix.ToUpperInvariant()}\{fileName}");
|
||||
if (File.Exists(path))
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
||||
path = $@"C:\Program Files\{prefix.ToUpperInvariant()}\{fileName}";
|
||||
if (File.Exists(path))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user