diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-04-13 22:00:06 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-04-13 22:00:45 +0300 |
commit | 057c7c6fabdb6106079fe4af90721c79c5c59142 (patch) | |
tree | 26f365cfe4834a2e46b6ee0add285bef1b41ed2c /source/blender/windowmanager/intern/wm_stereo.c | |
parent | 86fe894f8624fe64c5acde94de0e5d14e8803a55 (diff) |
Cleanup: do not use _reportf() when not doing any string formating!
Also usual minor i18n messages stuff...
Diffstat (limited to 'source/blender/windowmanager/intern/wm_stereo.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_stereo.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/windowmanager/intern/wm_stereo.c b/source/blender/windowmanager/intern/wm_stereo.c index c619b2ed727..328223645bc 100644 --- a/source/blender/windowmanager/intern/wm_stereo.c +++ b/source/blender/windowmanager/intern/wm_stereo.c @@ -464,8 +464,7 @@ int wm_stereo3d_set_exec(bContext *C, wmOperator *op) /* pageflip requires a new window to be created with the proper OS flags */ if (win->stereo3d_format->display_mode == S3D_DISPLAY_PAGEFLIP) { if (wm_stereo3d_quadbuffer_supported() == false) { - BKE_reportf(op->reports, RPT_ERROR, - "Quadbuffer not supported by the system"); + BKE_report(op->reports, RPT_ERROR, "Quad-buffer not supported by the system"); win->stereo3d_format->display_mode = display_mode; return OPERATOR_CANCELLED; } @@ -474,8 +473,8 @@ int wm_stereo3d_set_exec(bContext *C, wmOperator *op) win = wm->windows.last; } else { - BKE_reportf(op->reports, RPT_ERROR, - "Fail to create a window compatible with time sequential (page-flip) display method"); + BKE_report(op->reports, RPT_ERROR, + "Fail to create a window compatible with time sequential (page-flip) display method"); win->stereo3d_format->display_mode = display_mode; return OPERATOR_CANCELLED; } @@ -483,7 +482,7 @@ int wm_stereo3d_set_exec(bContext *C, wmOperator *op) if (wm_stereo3d_is_fullscreen_required(win->stereo3d_format->display_mode)) { if (!is_fullscreen) { - BKE_reportf(op->reports, RPT_INFO, "Stereo 3D Mode requires the window to be fullscreen"); + BKE_report(op->reports, RPT_INFO, "Stereo 3D Mode requires the window to be fullscreen"); } } |