Lines Matching defs:fname
67 LoadImageComma (char *fname, int sx, int sy, int flags);
570 * If fname is exactly ",nnn" then extract icon from our resource
575 LoadImageComma (char *fname, int sx, int sy, int flags)
582 if (!fname || !fname[0])
588 if (fname[0]==',')
591 index = atoi (fname+1);
603 if ( !(fname[0] && fname[1]==':' && fname[2]=='\\') )
607 if (fname[strlen(fname)-1]!='\\')
610 strcat (file, fname);
614 /* Specified as <fname>,<index> */
617 index = atoi (strrchr (fname, ',') + 1);
720 char fname[PATH_MAX+NAME_MAX+2];
736 strcpy (fname, home);
737 if (fname[strlen(fname)-1]!='/')
738 strcat (fname, "/");
739 strcat (fname, ".XWinrc");
741 prefFile = fopen (fname, "r");
743 ErrorF ("winPrefsLoadPreferences: %s\n", fname);