summaryrefslogtreecommitdiff
path: root/amiga/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/tree.c')
-rwxr-xr-xamiga/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index f1d35b2c5..44ff43121 100755
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "amiga/os3support.h"
+
#include <proto/window.h>
#include <proto/layout.h>
#include <proto/space.h>
@@ -994,7 +996,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
ASLFR_InitialFile,"tree_export.html",
TAG_DONE))
{
- strlcpy(&fname,savereq->fr_Drawer,1024);
+ strlcpy(fname,savereq->fr_Drawer,1024);
AddPart(fname,savereq->fr_File,1024);
ami_update_pointer(twin->win,GUI_POINTER_WAIT);
if(twin->type == AMI_TREE_HISTORY)