Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-08-04 02:12:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-04 02:12:57 +0400
commit6972e19fd55470700618174bbba5893d53b1deaa (patch)
tree51f3fcbd3fa978e9053c9a0763f15232e08ff8ed /source/blender/windowmanager
parent84df85164d4d869d0830ea23467bcd0e1f127d48 (diff)
code cleanup:
- replace (strcmp(vfont->name, FO_BUILTIN_NAME) == 0) with (BKE_vfont_is_builtin(vfont)). - reduce some double promotions.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index a55efc0b216..dcb6407b668 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1950,15 +1950,15 @@ static void WM_OT_recover_auto_save(wmOperatorType *ot)
/* *************** save file as **************** */
-static void untitled(char *name)
+static void untitled(char *filepath)
{
- if (G.save_over == 0 && strlen(name) < FILE_MAX - 16) {
- char *c = BLI_last_slash(name);
+ if (G.save_over == 0 && strlen(filepath) < FILE_MAX - 16) {
+ char *c = BLI_last_slash(filepath);
if (c)
strcpy(&c[1], "untitled.blend");
else
- strcpy(name, "untitled.blend");
+ strcpy(filepath, "untitled.blend");
}
}