Fixed two compile warnings I introduced.

This commit is contained in:
Nicholas Bishop 2007-01-04 22:16:49 +00:00
parent 1ccc7c46bf
commit 834495b5ff
2 changed files with 2 additions and 1 deletions

@ -61,6 +61,7 @@
#include "BSE_edit.h"
#include "editmesh.h"
#include "multires.h"
#ifdef HAVE_CONFIG_H

@ -343,6 +343,6 @@ uiBlock *editmode_undohistorymenu(void *arg_unused)
void *undo_editmode_get_prev(Object *ob)
{
UndoElem *ue= undobase.last;
if(ue && ue->prev && ue->prev==ob) return ue->prev->undodata;
if(ue && ue->prev && ue->prev->ob==ob) return ue->prev->undodata;
return NULL;
}