]> git.pld-linux.org Git - packages/dwg2dxf.git/blob - dwg2dxf-2.1-shared-files.patch
- tabs in preamble
[packages/dwg2dxf.git] / dwg2dxf-2.1-shared-files.patch
1 diff -uNr dwg2dxf-2.1.orig/dwg2dxf/main.cpp dwg2dxf-2.1/dwg2dxf/main.cpp
2 --- dwg2dxf-2.1.orig/dwg2dxf/main.cpp   2002-08-18 00:49:37.000000000 +0200
3 +++ dwg2dxf-2.1/dwg2dxf/main.cpp        2005-06-16 11:40:59.000000000 +0200
4 @@ -254,10 +254,10 @@
5  
6    strcpy(initfilepath,argv0);
7    if ((cptr=strrchr(initfilepath,PATHCHAR))==NULL) {
8 -    strcpy(initfilepath,"adinit.dat");  /* current dir only */
9 +    strcpy(initfilepath,"/usr/share/dwg2dxf/adinit.dat");  /* current dir only */
10      return(1);
11    }
12 -  strcpy(&cptr[1],"adinit.dat");
13 +  strcpy(&cptr[1],"/usr/share/dwg2dxf/adinit.dat"); /* thanks to agaran */
14    return(1);
15  }
16  
This page took 0.075692 seconds and 3 git commands to generate.