[Bf-blender-cvs] [f23b14091f6] master: Cleanup: double spaces in strings

Campbell Barton noreply at git.blender.org
Fri Jul 23 09:08:19 CEST 2021


Commit: f23b14091f60ccb23659075885d29bd24cd97f9d
Author: Campbell Barton
Date:   Fri Jul 23 17:04:21 2021 +1000
Branches: master
https://developer.blender.org/rBf23b14091f60ccb23659075885d29bd24cd97f9d

Cleanup: double spaces in strings

===================================================================

M	source/blender/makesrna/intern/rna_space.c
M	source/blender/makesrna/intern/rna_volume.c
M	source/blender/python/intern/bpy_app_ffmpeg.c
M	source/blender/windowmanager/intern/wm_event_query.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 4aee7e9d852..a213b418e0e 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -359,7 +359,7 @@ static const EnumPropertyItem display_channels_items[] = {
      "Color and Alpha",
      "Display image with RGB colors and alpha transparency"},
     {0, "COLOR", ICON_IMAGE_RGB, "Color", "Display image with RGB colors"},
-    {SI_SHOW_ALPHA, "ALPHA", ICON_IMAGE_ALPHA, "Alpha", "Display  alpha transparency channel"},
+    {SI_SHOW_ALPHA, "ALPHA", ICON_IMAGE_ALPHA, "Alpha", "Display alpha transparency channel"},
     {SI_SHOW_ZBUF,
      "Z_BUFFER",
      ICON_IMAGE_ZDEPTH,
diff --git a/source/blender/makesrna/intern/rna_volume.c b/source/blender/makesrna/intern/rna_volume.c
index 76db6f3e325..8ed53c9f70f 100644
--- a/source/blender/makesrna/intern/rna_volume.c
+++ b/source/blender/makesrna/intern/rna_volume.c
@@ -495,7 +495,7 @@ static void rna_def_volume_render(BlenderRNA *brna)
   prop = RNA_def_property(srna, "space", PROP_ENUM, PROP_NONE);
   RNA_def_property_enum_items(prop, space_items);
   RNA_def_property_ui_text(
-      prop, "Space", "Specify volume density and step size  in object or world space");
+      prop, "Space", "Specify volume density and step size in object or world space");
   RNA_def_property_update(prop, 0, "rna_Volume_update_display");
 
   prop = RNA_def_property(srna, "step_size", PROP_FLOAT, PROP_DISTANCE);
diff --git a/source/blender/python/intern/bpy_app_ffmpeg.c b/source/blender/python/intern/bpy_app_ffmpeg.c
index d2261ee7311..5f277b0ef07 100644
--- a/source/blender/python/intern/bpy_app_ffmpeg.c
+++ b/source/blender/python/intern/bpy_app_ffmpeg.c
@@ -36,7 +36,7 @@
 static PyTypeObject BlenderAppFFmpegType;
 
 #define DEF_FFMPEG_LIB_VERSION(lib) \
-  {(#lib "_version"), ("The " #lib " version  as a tuple of 3 numbers")}, \
+  {(#lib "_version"), ("The " #lib " version as a tuple of 3 numbers")}, \
   { \
     (#lib "_version_string"), ("The " #lib " version formatted as a string") \
   }
diff --git a/source/blender/windowmanager/intern/wm_event_query.c b/source/blender/windowmanager/intern/wm_event_query.c
index e7603a02cff..006dc220a56 100644
--- a/source/blender/windowmanager/intern/wm_event_query.c
+++ b/source/blender/windowmanager/intern/wm_event_query.c
@@ -85,10 +85,10 @@ void WM_event_print(const wmEvent *event)
     event_ids_from_type_and_value(event->prevtype, event->prevval, &prev_type_id, &prev_val_id);
 
     printf(
-        "wmEvent  type:%d / %s, val:%d / %s,\n"
-        "         prev_type:%d / %s, prev_val:%d / %s,\n"
-        "         shift:%d, ctrl:%d, alt:%d, oskey:%d, keymodifier:%d, is_repeat:%d,\n"
-        "         mouse:(%d,%d), ascii:'%c', utf8:'%.*s', pointer:%p\n",
+        "wmEvent type:%d / %s, val:%d / %s,\n"
+        "        prev_type:%d / %s, prev_val:%d / %s,\n"
+        "        shift:%d, ctrl:%d, alt:%d, oskey:%d, keymodifier:%d, is_repeat:%d,\n"
+        "        mouse:(%d,%d), ascii:'%c', utf8:'%.*s', pointer:%p\n",
         event->type,
         type_id,
         event->val,



More information about the Bf-blender-cvs mailing list