Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: grit/format/rc_header.py

Issue 176993010: Start to implicitly include \n in rc_header_format. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | grit/format/rc_header_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/format/rc_header.py
diff --git a/grit/format/rc_header.py b/grit/format/rc_header.py
index ef53b0f7d07204c81dc115210bd20322bf505219..74e7127b5840b57a90aa022737c721f638280b33 100644
--- a/grit/format/rc_header.py
+++ b/grit/format/rc_header.py
@@ -53,7 +53,8 @@ def FormatDefines(root, output_all_resource_defines=True,
items = root.ActiveDescendants()
if not rc_header_format:
- rc_header_format = "#define {textual_id} {numeric_id}\n"
+ rc_header_format = "#define {textual_id} {numeric_id}"
+ rc_header_format += "\n"
seen = set()
for item in items:
if not isinstance(item, message.MessageNode):
« no previous file with comments | « no previous file | grit/format/rc_header_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698