comparison src/gui.c @ 273:2463194c8cdd

updated for version 7.0073
author vimboss
date Thu, 19 May 2005 21:00:46 +0000
parents 2a5dcaea719a
children b15976488069
comparison
equal deleted inserted replaced
272:ddada568db54 273:2463194c8cdd
4357 char_u *buffer; 4357 char_u *buffer;
4358 char *ext; 4358 char *ext;
4359 { 4359 {
4360 if (STRLEN(name) > MAXPATHL - 14) 4360 if (STRLEN(name) > MAXPATHL - 14)
4361 return FAIL; 4361 return FAIL;
4362 sprintf((char *)buffer, "bitmaps/%s.%s", name, ext); 4362 vim_snprintf((char *)buffer, MAXPATHL, "bitmaps/%s.%s", name, ext);
4363 if (do_in_runtimepath(buffer, FALSE, gfp_setname, buffer) == FAIL 4363 if (do_in_runtimepath(buffer, FALSE, gfp_setname, buffer) == FAIL
4364 || *buffer == NUL) 4364 || *buffer == NUL)
4365 return FAIL; 4365 return FAIL;
4366 return OK; 4366 return OK;
4367 } 4367 }