Bug fix #1935
[blender.git] / source / blender / src / header_view3d.c
index 7fb5e73002dc78fedc2007e4dcd7d760c7f79bcc..22cab5fa1c6b985590af468308dba81a7b6dea0a 100644 (file)
@@ -300,7 +300,7 @@ static void do_view3d_view_alignviewmenu(void *arg, int event)
                 */
                G.qual |= LR_CTRLKEY|LR_ALTKEY;
                persptoetsen(PAD0);
-               G.qual &= ~LR_CTRLKEY|LR_ALTKEY;
+               G.qual &= ~(LR_CTRLKEY|LR_ALTKEY);
                break;
        case 5: /* Align View to Selected (object mode) */
                mainqenter(PADASTERKEY, 1);