diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index c45c0d97a9ce115161818d336def947c3873c067..fe662f28e594ded4840bc11e18dc115cb636c618 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -2872,7 +2872,7 @@ void apply_object()
 			make_duplilist_real();
 		}
 		else {
-			if(okee("Apply deformation")==0) {
+			if(okee("Apply deformation")) {
 				object_apply_deform(ob);
 				BIF_undo_push("Apply deformation");
 			}