From 74f3e019b643eae6fcca3263b9d60b174fdce131 Mon Sep 17 00:00:00 2001
From: Ivica Ico Bukvic <ico@vt.edu>
Date: Fri, 30 Aug 2013 01:11:50 -0400
Subject: [PATCH] fixed bug in accelerated restoring of original position

---
 pd/src/g_editor.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index be2802fe6..98b8feb02 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -253,8 +253,6 @@ int canvas_restore_original_position(t_glist *x, t_gobj *y, const char* objtag,
 
 	if (y->g_next) {
 		ob = pd_checkobject(&y->g_next->g_pd);
-	} else {
-		ret = 1;
 	}
 	if (ob) {
 		yrnxt = glist_findrtext(x, (t_text *)&ob->ob_g);
-- 
GitLab