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>2014-01-16 14:43:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-16 15:00:29 +0400
commit348cf17448624c66711465d373fc0c46fa000863 (patch)
tree6b4152ed944218550f6966271f9e7a95fe523b9b /source/blender/editors/space_script
parent9f167908402dae589f8e230115f0439faa4a086c (diff)
Code Cleanup: no need to pass empty strings as default values
Diffstat (limited to 'source/blender/editors/space_script')
-rw-r--r--source/blender/editors/space_script/script_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c
index 9df849410f4..5754af2c83c 100644
--- a/source/blender/editors/space_script/script_edit.c
+++ b/source/blender/editors/space_script/script_edit.c
@@ -83,7 +83,7 @@ void SCRIPT_OT_python_file_run(wmOperatorType *ot)
ot->exec = run_pyfile_exec;
ot->poll = ED_operator_areaactive;
- RNA_def_string_file_path(ot->srna, "filepath", "", FILE_MAX, "Path", "");
+ RNA_def_string_file_path(ot->srna, "filepath", NULL, FILE_MAX, "Path", "");
}
#ifdef WITH_PYTHON