diff --git a/sapi/activescript/classfactory.cpp b/sapi/activescript/classfactory.cpp index 8e6dab98653..50b6fde2dbe 100644 --- a/sapi/activescript/classfactory.cpp +++ b/sapi/activescript/classfactory.cpp @@ -244,7 +244,7 @@ static int perform_registration(BOOL do_reg) { char module_name[MAX_PATH]; char classid[40]; - int ret = 0; + int ret = 1; int i, j; struct reg_subst subst = {0}; LPOLESTR classidw;