nested clips, big rework and cleanup, sams new icons, leaks and tweaks
[goodguy/history.git] / cinelerra-5.1 / guicast / arraylist.h
index ae8d90ddc448658d7eecac0b79a254dc90d5d163..ef27522f55b2f6077e3f7c0ec8e6887978ff5f75 100644 (file)
@@ -43,7 +43,7 @@ public:
        }
        void remove_number(int n) {
                if( n >= total ) return;
-               for(int i=n+1; i<total; ++i ) values[i-1]=values[i];
+               while( ++n<total ) values[n-1]=values[n];
                remove();
        }
        void remove(TYPE value) {