[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53253] trunk/blender/source/blender/ editors/animation/fmodifier_ui.c: back to utf-8 encoding!

Tamito KAJIYAMA rd6t-kjym at asahi-net.or.jp
Sat Dec 22 23:20:22 CET 2012


Hi,

VC++ 2008 complains about fmodifier_ui.c saying there is a newline in constant
at the line changed in this revision.  The error disappears if the file is re-saved
with BOM at the beginning.  A fix would be appreciated.

Just for curiosity, what is the general rule about the use of UTF-8 and BOM in the
Blender code base?

Thanks,

-- 
KAJIYAMA, Tamito <rd6t-kjym at asahi-net.or.jp>


-----Original Message----- 
From: Bastien Montagne
Sent: Friday, December 21, 2012 7:20 PM
To: bf-blender-cvs at blender.org
Subject: [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53253] trunk/blender/source/blender/ editors/animation/fmodifier_ui.c: 
back to utf-8 encoding!

Revision: 53253
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53253
Author:   mont29
Date:     2012-12-21 19:20:24 +0000 (Fri, 21 Dec 2012)
Log Message:
-----------
back to utf-8 encoding!

Modified Paths:
--------------
    trunk/blender/source/blender/editors/animation/fmodifier_ui.c

Modified: trunk/blender/source/blender/editors/animation/fmodifier_ui.c
===================================================================
--- trunk/blender/source/blender/editors/animation/fmodifier_ui.c 2012-12-21 19:05:52 UTC (rev 53252)
+++ trunk/blender/source/blender/editors/animation/fmodifier_ui.c 2012-12-21 19:20:24 UTC (rev 53253)
@@ -233,7 +233,7 @@

  /* closing bracket and multiplication sign */
  if ( (i != (data->poly_order - 1)) || ((i == 0) && data->poly_order == 2) ) {
- uiDefBut(block, LABEL, 1, ") \xD7", 0, 0, 40, 20, NULL, 0.0, 0.0, 0, 0, "");
+ uiDefBut(block, LABEL, 1, ") ×", 0, 0, 40, 20, NULL, 0.0, 0.0, 0, 0, "");

  /* set up new row for the next pair of coefficients */
  row = uiLayoutRow(layout, TRUE);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs at blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs 



More information about the Bf-committers mailing list