]> git.pld-linux.org Git - packages/SNNS.git/blob - SNNS-XGUILOADPATH.diff
- massive change ( validate errors warrings from desktop-file-validate)
[packages/SNNS.git] / SNNS-XGUILOADPATH.diff
1 diff -urN SNNSv4.1/xgui/sources/ui_fileP.c SNNSv4.1.me/xgui/sources/ui_fileP.c
2 --- SNNSv4.1/xgui/sources/ui_fileP.c    Fri Dec  1 00:00:00 1995
3 +++ SNNSv4.1.me/xgui/sources/ui_fileP.c Mon Aug  4 23:53:20 1997
4 @@ -299,6 +299,8 @@
5      if (NOT ui_fileExist(filename, 0)) { 
6         if (getenv("XGUILOADPATH") != NULL) 
7             sprintf(filename, "%s/default.cfg", getenv("XGUILOADPATH"));
8 +       else
9 +               sprintf(filename, "%s/default.cfg", "/usr/lib/SNNS");
10         if (NOT ui_fileExist(filename,0)) {
11             fprintf (stdout, "Can't load <default.cfg>!\n");
12             return;
13 diff -urN SNNSv4.1/xgui/sources/ui_mainP.c SNNSv4.1.me/xgui/sources/ui_mainP.c
14 --- SNNSv4.1/xgui/sources/ui_mainP.c    Fri Dec  1 00:00:00 1995
15 +++ SNNSv4.1.me/xgui/sources/ui_mainP.c Mon Aug  4 23:53:48 1997
16 @@ -1476,6 +1476,8 @@
17      if (NOT ui_fileExist(hdoc,0)) {
18         if (getenv("XGUILOADPATH") != NULL) 
19             sprintf(hdoc, "%s/help.hdoc", getenv("XGUILOADPATH"));
20 +       else
21 +               sprintf(hdoc, "%s/help.hdoc", "/usr/lib/SNNS" );
22         if (NOT ui_fileExist(hdoc,0)) {
23             ui_confirmOk("Can't display help. <help.hdoc> not found.");
24              ui_helpOk = FALSE;
This page took 0.078556 seconds and 3 git commands to generate.