Lines Matching defs:fname
520 * If fname is exactly ",nnn" then extract icon from our resource
525 LoadImageComma(char *fname, char *iconDirectory, int sx, int sy, int flags)
531 if (!fname || !fname[0])
537 if (fname[0] == ',') {
539 i = atoi(fname + 1);
552 /* If fname starts 'X:\', it's an absolute Windows path, do nothing */
553 if (!(fname[0] && fname[1] == ':' && fname[2] == '\\')) {
555 /* If fname starts with '/', it's an absolute cygwin path, we'll
557 if (fname[0] == '/') {
571 strcat(file, fname);
576 i = atoi(strrchr(fname, ',') + 1);
594 /* Specified as <fname>,<index> */
709 char fname[PATH_MAX + NAME_MAX + 2];
723 strcpy(fname, home);
724 if (fname[strlen(fname) - 1] != '/')
725 strcat(fname, "/");
726 strcat(fname, ".XWinrc");
727 parsed = winPrefsLoadPreferences(fname);