screenshot: fix error message

This happens with JPG screenshots as well.
This commit is contained in:
wm4 2012-02-19 16:43:58 +01:00
parent f440a244e3
commit 7822eca9ac
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ static screenshot_ctx *screenshot_get_ctx(MPContext *mpctx)
static FILE *open_file(screenshot_ctx *ctx, char *fname) {
FILE *fp = fopen(fname, "wb");
if (fp == NULL)
mp_msg(MSGT_CPLAYER, MSGL_ERR, "\nPNG Error opening %s for writing!\n",
mp_msg(MSGT_CPLAYER, MSGL_ERR, "\nError opening %s for writing!\n",
fname);
return fp;
}