From df66ead91858cba030ca5de0dd54a3f96ee6c8d5 Mon Sep 17 00:00:00 2001 From: Vedran Ljubovic Date: Sun, 20 Aug 2006 21:14:02 +0000 Subject: [PATCH] Fix some typos so efiler compiles (untested) --- efiler/efiler.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/efiler/efiler.cpp b/efiler/efiler.cpp index 2ac93eb..9b45644 100644 --- a/efiler/efiler.cpp +++ b/efiler/efiler.cpp @@ -298,8 +298,8 @@ void do_cut_copy_fbrowser(bool m_copy) { // Clear cut/copy buffer and optionally ungray the previously cutted icons if (cut_copy_buffer) { - for (int i=0; cut_copy_buffer(i); i++) - free(cut_copy_buffer(i)); + for (int i=0; cut_copy_buffer[i]; i++) + free(cut_copy_buffer[i]); free(cut_copy_buffer); if (!operation_is_copy) { for (int i=0; ideselect(); } // Execute cut or copy operation when Icon View is active -void do_cut_copy_sgroup(bool copy) { +void do_cut_copy_sgroup(bool m_copy) { // Group doesn't support type(MULTI) so only one item can be selected // Will be changed @@ -335,8 +335,8 @@ void do_cut_copy_sgroup(bool copy) { // Clear cut/copy buffer and optionally ungray the previously cutted icon if (cut_copy_buffer) { - for (int i=0; cut_copy_buffer(i); i++) - free(cut_copy_buffer(i)); + for (int i=0; cut_copy_buffer[i]; i++) + free(cut_copy_buffer[i]); free(cut_copy_buffer); if (!operation_is_copy) { for (int i=0; ichild(sgroup->focus_index())->label()); if (!m_copy) sgroup->child(sgroup->focus_index())->textcolor(GRAY50); cut_copy_buffer[1]=0; - operation_is_copy=copy; + operation_is_copy=m_copy; } void cut_cb(Widget*, void*) {