Changeset 1275 in MondoRescue
- Timestamp:
- Mar 28, 2007, 1:51:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1268 r1275 1361 1361 { 1362 1362 static char output[MAX_STR_LEN]; 1363 1363 char *p; 1364 1365 if ((p = getenv("EDITOR")) != NULL) { 1366 strcpy(output, p); 1367 } 1364 1368 if (find_home_of_exe("pico")) { 1365 1369 strcpy(output, "pico"); 1366 1370 } else if (find_home_of_exe("nano")) { 1367 1371 strcpy(output, "nano"); 1368 } else if (find_home_of_exe("e3em")) { 1369 strcpy(output, "e3em"); 1370 } else if (find_home_of_exe("e3vi")) { 1371 strcpy(output, "e3vi"); 1372 } else if (find_home_of_exe("vim")) { 1373 strcpy(output, "vim"); 1372 1374 } else { 1373 1375 strcpy(output, "vi");
Note:
See TracChangeset
for help on using the changeset viewer.