mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-01 01:04:21 +01: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));
|
||||
// we don't want the trailing newline
|
||||
if (length < sizeof(vendor_id) && vendor_id[length - 1] == '\n')
|
||||
vendor_id[length - 1] == '\0';
|
||||
vendor_id[length - 1] = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user