Skip to content

Commit

Permalink
fixed CR bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zodiacon committed Oct 6, 2017
1 parent 27a4c56 commit 2a6dc2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 761 deletions.
2 changes: 1 addition & 1 deletion UwpList/UwpList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void BuildCapabilityMap() {
auto sid2 = reinterpret_cast<PSID>(sid2buffer.get());

do {
auto cr = ::strstr(caps, "\r\n");
auto cr = ::strstr(caps, "\n");
if (!cr) break;

string name(caps, cr);
Expand Down
Loading

0 comments on commit 2a6dc2b

Please sign in to comment.