diff options
Diffstat (limited to 'src/FbTk/ImageControl.cc')
-rw-r--r-- | src/FbTk/ImageControl.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc index b9c5029..9e4f2df 100644 --- a/src/FbTk/ImageControl.cc +++ b/src/FbTk/ImageControl.cc | |||
@@ -22,13 +22,14 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: ImageControl.cc,v 1.12 2004/01/21 14:15:29 fluxgen Exp $ | 25 | // $Id: ImageControl.cc,v 1.13 2004/06/07 11:46:05 rathnor Exp $ |
26 | 26 | ||
27 | #include "ImageControl.hh" | 27 | #include "ImageControl.hh" |
28 | 28 | ||
29 | #include "TextureRender.hh" | 29 | #include "TextureRender.hh" |
30 | #include "App.hh" | 30 | #include "App.hh" |
31 | #include "SimpleCommand.hh" | 31 | #include "SimpleCommand.hh" |
32 | #include "I18n.hh" | ||
32 | 33 | ||
33 | //use GNU extensions | 34 | //use GNU extensions |
34 | #ifndef _GNU_SOURCE | 35 | #ifndef _GNU_SOURCE |
@@ -638,7 +639,8 @@ void ImageControl::createColorTable() { | |||
638 | } | 639 | } |
639 | 640 | ||
640 | default: | 641 | default: |
641 | cerr<<"FbTk::ImageControl: Unsupported visual"<<endl; | 642 | _FB_USES_NLS; |
643 | cerr<<"FbTk::ImageControl: "<<_FBTKTEXT(Error, UnsupportedVisual, "Unsupported visual", "A visual is a technical term in X")<<endl; | ||
642 | break; | 644 | break; |
643 | } | 645 | } |
644 | } | 646 | } |