From 1aa27e240c7d7020489124e933db47ed18167560 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 3 Jun 2012 11:16:13 +0000 Subject: [PATCH] code cleanup: replace some non utf8 chars --- intern/boolop/intern/BOP_Face2Face.cpp | 6 +++--- intern/ghost/intern/GHOST_SystemCarbon.cpp | 2 +- intern/ghost/intern/GHOST_SystemCocoa.mm | 2 +- intern/ghost/intern/GHOST_WindowCocoa.mm | 4 ++-- source/blender/blenkernel/intern/DerivedMesh.c | 2 +- source/blender/editors/mesh/editmesh_tools.c | 6 +++--- source/gameengine/Ketsji/KX_Dome.h | 7 ++++--- 7 files changed, 15 insertions(+), 14 deletions(-) diff --git a/intern/boolop/intern/BOP_Face2Face.cpp b/intern/boolop/intern/BOP_Face2Face.cpp index f88a271bfdb..905d23fddff 100644 --- a/intern/boolop/intern/BOP_Face2Face.cpp +++ b/intern/boolop/intern/BOP_Face2Face.cpp @@ -534,7 +534,7 @@ void BOP_mergeSort(MT_Point3 *points, unsigned int *face, unsigned int &size, bo invertB = false; if (face[1] == 1) { - // invertAø? + // invertA? for(i=0;iincluded in always NSApp sendEvent */ + /* Support system-wide keyboard shortcuts, like Exposé, ...) =>included in always NSApp sendEvent */ /* if (([event modifierFlags] & NSCommandKeyMask) || [event type] == NSFlagsChanged) { [NSApp sendEvent:event]; }*/ diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index b7d14873e7b..f94f08b1d13 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -482,7 +482,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa( i=0; pixelFormatAttrsWindow[i++] = NSOpenGLPFADoubleBuffer; - // Guarantees the back buffer contents to be valid after a call to NSOpenGLContext object’s flushBuffer + // Guarantees the back buffer contents to be valid after a call to NSOpenGLContext object's flushBuffer // needed for 'Draw Overlap' drawing method pixelFormatAttrsWindow[i++] = NSOpenGLPFABackingStore; @@ -525,7 +525,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa( i=0; pixelFormatAttrsWindow[i++] = NSOpenGLPFADoubleBuffer; - // Guarantees the back buffer contents to be valid after a call to NSOpenGLContext object’s flushBuffer + // Guarantees the back buffer contents to be valid after a call to NSOpenGLContext object's flushBuffer // needed for 'Draw Overlap' drawing method pixelFormatAttrsWindow[i++] = NSOpenGLPFABackingStore; diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 7130776d05a..3f28a4afe8d 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -426,7 +426,7 @@ void DM_update_tessface_data(DerivedMesh *dm) /* Find out loop indices. */ /* XXX Is there a better way to do this? */ - /* NOTE: This assumes tessface are valid and in sync with loop/poly… Else, most likely, segfault! */ + /* NOTE: This assumes tessface are valid and in sync with loop/poly... Else, most likely, segfault! */ for (i = mp[polyindex[mf_idx]].loopstart, not_done = mf_len; not_done; i++) { MLoop *tml = &ml[i]; if (tml->v == mf->v1) { diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 708273df109..cad6c23eb74 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -4065,9 +4065,9 @@ static void sort_bmelem_flag(bContext *C, const int types, const int flag, const } } -/* printf("%d vertices: %d to be affected…\n", totelem[0], affected[0]);*/ -/* printf("%d edges: %d to be affected…\n", totelem[1], affected[1]);*/ -/* printf("%d faces: %d to be affected…\n", totelem[2], affected[2]);*/ +/* printf("%d vertices: %d to be affected...\n", totelem[0], affected[0]);*/ +/* printf("%d edges: %d to be affected...\n", totelem[1], affected[1]);*/ +/* printf("%d faces: %d to be affected...\n", totelem[2], affected[2]);*/ if (affected[0] == 0 && affected[1] == 0 && affected[2] == 0) { for (j = 3; j--; ) { if (pblock[j]) diff --git a/source/gameengine/Ketsji/KX_Dome.h b/source/gameengine/Ketsji/KX_Dome.h index 313d6fd1535..125df573893 100644 --- a/source/gameengine/Ketsji/KX_Dome.h +++ b/source/gameengine/Ketsji/KX_Dome.h @@ -18,7 +18,7 @@ http://www.gnu.org/copyleft/lesser.txt. Contributor(s): Dalai Felinto This source uses some of the ideas and code from Paul Bourke. -Developed as part of a Research and Development project for SAT - La Soci�t� des arts technologiques. +Developed as part of a Research and Development project for SAT - La Société des arts technologiques. ----------------------------------------------------------------------------- */ @@ -81,8 +81,9 @@ public: bool fboSupported; //openGL names: - GLuint domefacesId[7]; // ID of the images -- room for 7 images, using only 4 for 180� x 360� dome, 6 for panoramic and +1 for warp mesh - GLuint dlistId; // ID of the Display Lists of the images (used as an offset) + GLuint domefacesId[7]; /* ID of the images -- room for 7 images, using only 4 for 180deg x 360deg dome, + * 6 for panoramic and +1 for warp mesh */ + GLuint dlistId; /* ID of the Display Lists of the images (used as an offset) */ typedef struct { double u[3], v[3];