From: Cheng Zhao Date: Wed, 19 Jun 2013 05:24:13 +0000 (+0800) Subject: Fix cpplint errors. X-Git-Tag: v0.1.0~90 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c9e9080a3573b64a3f0c0f3e367471d1aed9cd03;p=electron.git Fix cpplint errors. --- diff --git a/browser/accelerator_util.cc b/browser/accelerator_util.cc index f7098062..c4dc9967 100644 --- a/browser/accelerator_util.cc +++ b/browser/accelerator_util.cc @@ -70,7 +70,8 @@ bool StringToAccelerator(const std::string& description, } else if (tokens[i][0] >= '0' && tokens[i][0] <= '9') { key = static_cast(ui::VKEY_0 + (tokens[i][0] - '0')); } else if (tokens[i][0] >= '+' && tokens[i][0] <= '.') { - key = static_cast(ui::VKEY_OEM_PLUS + (tokens[i][0] - '+')); + key = static_cast( + ui::VKEY_OEM_PLUS + (tokens[i][0] - '+')); } else { LOG(WARNING) << "Invalid accelerator character: " << tokens[i]; key = ui::VKEY_UNKNOWN; diff --git a/script/cpplint b/script/cpplint index 48a5a4a4..ba9ba9e3 100755 --- a/script/cpplint +++ b/script/cpplint @@ -8,6 +8,7 @@ browser/atom_event_processing_window.h browser/atom_application_mac.h browser/atom_application_delegate_mac.h browser/native_window_mac.h +browser/nsalert_synchronous_sheet.h common/api/api_messages.cc common/api/api_messages.h'