mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Fix some stupid typos/errors with commit e749f4287
This commit is contained in:
@@ -71,7 +71,7 @@ namespace renderdocui.Code
|
||||
// save it)
|
||||
foreach(var a in args)
|
||||
{
|
||||
if(a.ToUpperInvariant() == "--tempfile")
|
||||
if(a.ToUpperInvariant() == "--TEMPFILE")
|
||||
temp = true;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ namespace renderdocui.Code
|
||||
|
||||
for (int i = 0; i < args.Length; i++)
|
||||
{
|
||||
if (args[i].ToUpperInvariant() == "--remoteaccess" && i + 1 < args.Length)
|
||||
if (args[i].ToUpperInvariant() == "--REMOTEACCESS" && i + 1 < args.Length)
|
||||
{
|
||||
var regexp = @"^([a-zA-Z0-9_-]+:)?([0-9]+)$";
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ namespace renderdocui.Windows
|
||||
for (int i = 1; i < lines.Length; i++)
|
||||
{
|
||||
string l = rgx.Replace(lines[i], replacement);
|
||||
if (l.Length == 0)
|
||||
if (l.Length > 0)
|
||||
node.Nodes.Add(new TreelistView.Node(new object[] { "", l }));
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
fileFormat.Items.Add(ft.ToString());
|
||||
|
||||
if (filter.Length > 0) filter += "|";
|
||||
filter += String.Format("{0} Files (*.{1})|*.{1}", ft.ToString(), ft.ToString().ToUpperInvariant());
|
||||
filter += String.Format("{0} Files (*.{1})|*.{1}", ft.ToString(), ft.ToString().ToLower(Application.CurrentCulture));
|
||||
}
|
||||
|
||||
saveTexDialog.Filter = filter;
|
||||
|
||||
Reference in New Issue
Block a user