1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtstyle: Coverity 87763

This commit is contained in:
Peter Howkins 2018-07-03 18:39:32 +01:00
parent 0dc2828f57
commit c743c30cb9

View file

@ -248,7 +248,9 @@ ReadPalette(
/* load the filename into the name element */
p = strstr (in_filename, PALETTE_SUFFIX);
*p = '\0';
if(p) {
*p = '\0';
}
strcpy(new_palette->name, in_filename);
/*