minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / screen / screen_ops.c
index 547e7bc8e5afc5b430554fe851a159a8d39156f5..c97e91f74b6bdc6aa1483bc55c59d460fd5196be 100644 (file)
@@ -827,7 +827,7 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, wmEvent *event)
        
        /* adds window to WM */
        rect = sa->totrct;
-       BLI_translate_rcti(&rect, win->posx, win->posy);
+       BLI_rcti_translate(&rect, win->posx, win->posy);
        newwin = WM_window_open(C, &rect);
        
        /* allocs new screen and adds to newly created window, using window size */