# --- T2-COPYRIGHT-BEGIN ---
# t2/package/*/clip/hotfix_clip_file.c.patch
# Copyright (C) 2005 - 2026 The T2 SDE Project
# SPDX-License-Identifier: GPL-2.0 or patched project license
# --- T2-COPYRIGHT-END ---

--- clip-prg-1.1.15-1.orig/clip/file.c	2005-08-25 04:36:33.000000000 -0400
+++ clip-prg-1.1.15-1/clip/file.c	2005-12-30 09:35:11.000000000 -0300
@@ -1965,7 +1965,7 @@
 	{
 		char *mp;
 		long j, modlen, size;
-		char *name = strdup(file->name), *upname;
+		char *name = strdup(file->mname), *upname;
 		char *s;
 
 		s = strchr(name, '.');
@@ -2061,7 +2061,7 @@
 	{
 		char *mp;
 		long j, k, modlen, size;
-		char *name = strdup(file->name);
+		char *name = strdup(file->mname);
 		char *s;
 
 		s = strchr(name, '.');
