Cleanup: double spaces in strings

This commit is contained in:
Campbell Barton 2021-07-23 17:04:21 +10:00
parent ced94bc11c
commit f23b14091f
4 changed files with 7 additions and 7 deletions

View File

@ -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,

View File

@ -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);

View File

@ -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") \
}

View File

@ -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,