mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-07-23 02:18:30 +00:00
Fix typo from r1079.
TBR=digit Review URL: https://breakpad.appspot.com/496002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1080 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
81885eea47
commit
bbcdd7711f
|
@ -1253,7 +1253,7 @@ class MinidumpWriter {
|
||||||
my_strlcpy(vendor_id, value, sizeof(vendor_id));
|
my_strlcpy(vendor_id, value, sizeof(vendor_id));
|
||||||
// we don't want the trailing newline
|
// we don't want the trailing newline
|
||||||
if (length < sizeof(vendor_id) && vendor_id[length - 1] == '\n')
|
if (length < sizeof(vendor_id) && vendor_id[length - 1] == '\n')
|
||||||
vendor_id[length - 1] == '\0';
|
vendor_id[length - 1] = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue