summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 01:54:12 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-23 01:54:12 +0000
commit78eaf85a77d41d92edfd15fe823140b44488b1df (patch)
tree4073e365688c0218e2f5edbdb13f8222f5a71ff2 /printing
parentffb06852fe30ad1eb94072fed72209c188e4b5ea (diff)
downloadchromium_src-78eaf85a77d41d92edfd15fe823140b44488b1df.zip
chromium_src-78eaf85a77d41d92edfd15fe823140b44488b1df.tar.gz
chromium_src-78eaf85a77d41d92edfd15fe823140b44488b1df.tar.bz2
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
Diffstat (limited to 'printing')
-rw-r--r--printing/backend/win_helper.cc3
1 files changed, 2 insertions, 1 deletions
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;
}