pkgsrc/x11/xview-clients/patches/patch-aa
tron 6999f4df07 Cleanup patch files:
- unified format
- only one patch per file
- no files get patched twice
2001-12-28 14:58:02 +00:00

29 lines
726 B
Text

$NetBSD: patch-aa,v 1.4 2001/12/28 14:58:02 tron Exp $
--- cmdtool/cmdtool.c.orig Tue Jun 29 07:12:08 1993
+++ cmdtool/cmdtool.c Fri Dec 28 15:55:42 2001
@@ -123,7 +123,6 @@
int cmdline_count = 0;
char cmdline2[50];
Server_image cmd_pixmap, cmd_mask_pixmap;
-
#ifdef GPROF
if (argc > 1 && strcmp(argv[argc-1], "-gprof") == 0) {
@@ -141,6 +140,8 @@
#endif
/* This is required to initialize correctly */
+
+
xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv,
XV_USE_LOCALE, TRUE, 0);
@@ -286,6 +287,7 @@
strcat( cmdline2, argv[0] );
argv[0] = cmdline2;
}
+
/* If FRAME_LABEL wasn't set by cmdline argument, set it */
if ((tmp_label1 = (char *)xv_get(base_frame, FRAME_LABEL)) == NULL) {