Skip to content

Commit

Permalink
fix(ci): fixed issue #31
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam1337 committed Jan 28, 2024
1 parent c9622a8 commit 6658542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/extOSC/Scripts/Core/Packers/OSCPackerString.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected override string BytesToValue(byte[] buffer, ref int index)
var length = 0;
var position = index;

while (buffer[position] != 0 && position < buffer.Length)
while (position < buffer.Length && buffer[position] != 0)
{
position++;
length++;
Expand Down

0 comments on commit 6658542

Please sign in to comment.