Skip to content

Commit

Permalink
improve searching
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Mar 6, 2024
1 parent ec2add8 commit ae7db1d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion refguid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

void show_version(void)
{
std::puts("refguid version 1.2 by katahiromz");
std::puts("refguid version 1.3 by katahiromz");
}

void usage(void)
Expand Down Expand Up @@ -561,6 +561,12 @@ int _wmain(int argc, wchar_t **argv)
else
{
bSuccess = bSearch = TRUE;
if (entries.size() == 1)
{
bSearch = FALSE;
guid = entries[0].guid;
name = entries[0].name;
}
}
}

Expand Down

0 comments on commit ae7db1d

Please sign in to comment.