diff options
Diffstat (limited to 'other/pamx/window.c')
-rw-r--r-- | other/pamx/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/other/pamx/window.c b/other/pamx/window.c index 1a91416a..29f85d92 100644 --- a/other/pamx/window.c +++ b/other/pamx/window.c @@ -112,11 +112,11 @@ getInitialViewerGeometry(const char * const geometryString, *userChoseP = TRUE; } else if (geometryString) { const char * defGeom; - asprintfN(&defGeom, "%ux%u+0+0", defaultWidth, defaultHeight); + pm_asprintf(&defGeom, "%ux%u+0+0", defaultWidth, defaultHeight); XGeometry(dispP, scrn, geometryString, defGeom, 0, 1, 1, 0, 0, (int *)xposP, (int *)yposP, (int *)widthP, (int *)heightP); - strfree(defGeom); + pm_strfree(defGeom); *userChoseP = TRUE; } else { *widthP = defaultWidth; @@ -1175,7 +1175,7 @@ displayInViewer(viewer * const viewerP, { const char * const name = iconName(title); XSetIconName(viewerP->dispP, viewerP->viewportWin, name); - strfree(name); + pm_strfree(name); } setNormalSizeHints(viewerP, imageP); |