mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtwm: Coverity 88535
This commit is contained in:
parent
c3aac3cc26
commit
e0d8aaa0dd
1 changed files with 1 additions and 2 deletions
|
@ -989,8 +989,7 @@ char *BitmapPathName (char *string)
|
||||||
* Handle "~/.."
|
* Handle "~/.."
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
strcpy (fileName, homeDir);
|
snprintf(fileName, MAXWMPATH, "%s%s", homeDir, &(string[1]));
|
||||||
strncat (fileName, &(string[1]), MAXWMPATH - strlen (fileName));
|
|
||||||
return (fileName);
|
return (fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue