Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit e933254

Browse files
committed
Fix Critical Crash
1 parent 3b4ee53 commit e933254

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

App/AssemblyInfo1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@
3333
#if (DEBUG)
3434
[assembly: AssemblyVersion("1.13.*")]
3535
#else
36-
[assembly: AssemblyVersion("1.3.4.1")]
36+
[assembly: AssemblyVersion("1.3.4.2")]
3737
#endif

SourcepawnCondenser/SourcepawnCondenser/CondenserFunctions/SMFunctionConsumer.cs

+3
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,10 @@ public static List<SMVariable> ConsumeSMVariableLocal(Token[] t, string FileName
320320

321321
if (t[position + index + 1].Kind != TokenKind.Assignment ||
322322
t[position + index + 2].Kind != TokenKind.New || t[position + index + 3].Value != varType)
323+
{
324+
position++;
323325
continue;
326+
}
324327

325328
for (var i = index + 4; i < length - 2; i += 3)
326329
{

Utils/FTP.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.IO;
33
using System.Net;
4-
using System.Text;
54
using Renci.SshNet;
65

76
namespace Spedit.Utils

0 commit comments

Comments
 (0)