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>2011-03-03 20:59:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-03 20:59:04 +0300
commit3c184def72693e319253c31896b385c297183778 (patch)
tree665530e6a8a0a1e57ee7b02221b2530f10eb10c4 /source/blender/windowmanager
parent709c727c510a85426b87a9a2fb7fb8517fef7de9 (diff)
use NULL instead of 0 for pointers, (editors)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_init_exit.c2
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index a797b461025..b914f63a384 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -430,7 +430,7 @@ void WM_exit(bContext *C)
// XXX UI_filelist_free_icons();
}
- GPU_buffer_pool_free(0);
+ GPU_buffer_pool_free(NULL);
GPU_free_unused_buffers();
GPU_extensions_exit();
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index bbcb4d60c77..b46f5f34271 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1141,7 +1141,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
uiBlockSetEmboss(block, UI_EMBOSS);
/* show the splash menu (containing interaction presets), using python */
if (mt) {
- Menu menu= {0};
+ Menu menu= {NULL};
menu.layout= layout;
menu.type= mt;
mt->draw(C, &menu);
@@ -1499,7 +1499,7 @@ static int wm_link_append_exec(bContext *C, wmOperator *op)
{
Main *bmain= CTX_data_main(C);
Scene *scene= CTX_data_scene(C);
- Main *mainl= 0;
+ Main *mainl= NULL;
BlendHandle *bh;
PropertyRNA *prop;
char name[FILE_MAX], dir[FILE_MAX], libname[FILE_MAX], group[GROUP_MAX];