From 78eaf85a77d41d92edfd15fe823140b44488b1df Mon Sep 17 00:00:00 2001 From: "vitalybuka@chromium.org" Date: Fri, 23 Mar 2012 01:54:12 +0000 Subject: Removed trailing ; BUG=none TEST=none Review URL: http://codereview.chromium.org/9842003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128392 0039d316-1c4b-4281-b951-d872f2087c98 --- printing/backend/win_helper.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'printing') diff --git a/printing/backend/win_helper.cc b/printing/backend/win_helper.cc index eba284e..8bcb45e 100644 --- a/printing/backend/win_helper.cc +++ b/printing/backend/win_helper.cc @@ -367,7 +367,8 @@ std::string GetDriverInfo(HANDLE printer) { for (size_t i = 0; i < arraysize(info); ++i) { std::replace(info[i].begin(), info[i].end(), ';', ','); driver_info.append(info[i]); - driver_info.append(";"); + if (i < arraysize(info) - 1) + driver_info.append(";"); } return driver_info; } -- cgit v1.1