* small typo fix.
authorNathan Letwory <nathan@letworyinteractive.com>
Wed, 11 Mar 2009 20:25:31 +0000 (20:25 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Wed, 11 Mar 2009 20:25:31 +0000 (20:25 +0000)
source/blender/blenkernel/intern/screen.c

index 4232d1f7e52010c84318f11b2797c363b6e57e0c..33c674d1a7aa564386c9409c30c41928f6a707bb 100644 (file)
@@ -199,7 +199,7 @@ void BKE_spacedata_copylist(ListBase *lb1, ListBase *lb2)
 {
        SpaceLink *sl;
        
-       lb1->first= lb2->last= NULL;    /* to be sure */
+       lb1->first= lb1->last= NULL;    /* to be sure */
        
        for (sl= lb2->first; sl; sl= sl->next) {
                SpaceType *st= BKE_spacetype_from_id(sl->spacetype);
@@ -219,7 +219,7 @@ void BKE_spacedata_copyfirst(ListBase *lb1, ListBase *lb2)
 {
        SpaceLink *sl;
        
-       lb1->first= lb2->last= NULL;    /* to be sure */
+       lb1->first= lb1->last= NULL;    /* to be sure */
        
        sl= lb2->first;
        if(sl) {