Fix for webrtc issue 1052 on windows with vie_auto_test.
Review URL: https://webrtc-codereview.appspot.com/929014 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3049 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
ddcc9429e7
commit
6dddfe9c35
@ -58,8 +58,9 @@ std::string ChoiceBuilder::MakeTitleWithOptions() {
|
||||
Choices::const_iterator iterator = choices_.begin();
|
||||
for (int number = 1; iterator != choices_.end(); ++iterator, ++number) {
|
||||
char buffer[128];
|
||||
sprintf(buffer, "\n %d. %s", number, (*iterator).c_str());
|
||||
sprintf(buffer, "\n %d. ", number);
|
||||
title_with_options += buffer;
|
||||
title_with_options += (*iterator);
|
||||
}
|
||||
return title_with_options;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user