mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use Length instead of Position to keep thing clear
This commit is contained in:
parent
74d9290944
commit
793b432d61
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
return Stream.Null;
|
||||
}
|
||||
|
||||
switch (sourceBuffer.Length, errorBuffer.Position)
|
||||
switch (sourceBuffer.Length, errorBuffer.Length)
|
||||
{
|
||||
case (0, 0):
|
||||
var errorMessage = Encoding.UTF8.GetString(errorBuffer.GetBuffer(), 0, (int)errorBuffer.Position);
|
||||
|
|
|
|||
Loading…
Reference in a new issue