diff --git a/Flow.Launcher.Infrastructure/TranslationMapping.cs b/Flow.Launcher.Infrastructure/TranslationMapping.cs index 58754cf90..3a3ca6e2f 100644 --- a/Flow.Launcher.Infrastructure/TranslationMapping.cs +++ b/Flow.Launcher.Infrastructure/TranslationMapping.cs @@ -23,8 +23,7 @@ namespace Flow.Launcher.Infrastructure public int MapToOriginalIndex(int translatedIndex) { int loc = originalToTranslated.BinarySearch(translatedIndex); - - return loc > 0 ? loc : ~loc; + return loc >= 0 ? loc : ~loc; } public void endConstruct()