Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 20:18:36 -0400 (EDT)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bifrost@kizmiaz.dis.org
Subject:   ports/41962: graphics/quickpics: make default captions more suitable to leave in place if desired
Message-ID:  <200208240018.g7O0IaLW042585@wwweasel.geeksrus.net>

next in thread | raw e-mail | index | archive | help

>Number:         41962
>Category:       ports
>Synopsis:       graphics/quickpics: make default captions more suitable to leave in place if desired
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 23 17:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.6-STABLE FreeBSD 4.6-STABLE #1: Wed Aug 21 14:26:28 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386
>Description:

The default descriptions for pictures read "Description of <picturename> goes
here."

This patch just changes it to the name of the file, which is suitable to leave
there if you don't want to do any more work.

>How-To-Repeat:
>Fix:

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: graphics/quickpics/files/patch-src-dir.c
===================================================================
RCS file: graphics/quickpics/files/patch-src-dir.c
diff -N graphics/quickpics/files/patch-src-dir.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ graphics/quickpics/files/patch-src-dir.c	24 Aug 2002 00:08:53 -0000
@@ -0,0 +1,17 @@
+--- dir.c.orig	Tue Apr  7 03:31:14 1998
++++ dir.c	Fri Aug 23 20:08:24 2002
+@@ -479,12 +479,12 @@
+ 			rmspace(description);
+ 			if(!description[0])
+ 			{
+-				sprintf(description,"Description of %s goes here.",
++				sprintf(description,"%s",
+ 					img->name);
+ 			}
+ 		}
+ 		else
+-			sprintf(description,"Description of %s goes here.",
++			sprintf(description,"%s",
+ 				img->name);
+ 
+ 		imgrec_setdescription(img,description);
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208240018.g7O0IaLW042585>