diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
commit | b55285a77da0e0b829e4ce8d7e09debaabc68e15 (patch) | |
tree | f622559ef65bbdd3e1c5bdb06098a8f89eec0563 /app/bin/dbitmap.c | |
parent | d3897ce090dbeb220ed2c782f095597e417cf3cc (diff) | |
parent | d1ae75703e1ed81d65ea16946dcdb77e7a13adc9 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/dbitmap.c')
-rw-r--r-- | app/bin/dbitmap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/bin/dbitmap.c b/app/bin/dbitmap.c index 340bad1..c45c7d0 100644 --- a/app/bin/dbitmap.c +++ b/app/bin/dbitmap.c @@ -112,7 +112,7 @@ static int SaveBitmapFile( (wPos_t)(-bitmap_d.orig.y/bitmap_d.scale*bitmap_d.dpi), (wPos_t)(mapD.size.x/bitmap_d.scale*bitmap_d.dpi), (wPos_t)(mapD.size.y/bitmap_d.scale*bitmap_d.dpi) ); - wSetCursor( wCursorWait ); + wSetCursor( mainD.d, wCursorWait ); InfoMessage( _("Drawing tracks to BitMap") ); DrawSnapGrid( &bitmap_d, mapD.size, TRUE ); if ( (outputBitMapTogglesV&4) ) @@ -126,7 +126,7 @@ static int SaveBitmapFile( return FALSE; } InfoMessage( "" ); - wSetCursor( wCursorNormal ); + wSetCursor( mainD.d, defaultCursor ); wBitMapDelete( bitmap_d.d ); return TRUE; } @@ -211,11 +211,11 @@ static void OutputBitMapOk( void * junk ) wHide( outputBitMapW ); if (bitmap_fs == NULL) bitmap_fs = wFilSelCreate( mainW, FS_SAVE, 0, _("Save Bitmap"), -#ifdef WINDOWS - _("Bitmap files|*.bmp"), -#else - _("Bitmap files|*.xpm"), -#endif +//#ifdef WINDOWS +// _("Bitmap files (*.bmp)|*.bmp"), +//#else + _("Bitmap files (*.png)|*.png"), +//#endif SaveBitmapFile, NULL ); wFilSelect( bitmap_fs, GetCurrentPath( BITMAPPATHKEY )); } |