diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-11-17 16:11:03 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-11-17 16:11:03 +0100 |
| commit | 5cb72ef065f53d8f8759a6b6cccd35a2f367f290 (patch) | |
| tree | 31c76e99f59639c2ca2a9443c4e5806cd163726c /src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | |
| parent | 2931c29689a91375e610a6a8bca28fe2b10b268f (diff) | |
Fix whitespace and minor formatting issues
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx index 873e76a4c..440bf2762 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx @@ -504,7 +504,7 @@ Fl_WinAPI_Screen_Driver::read_win_rectangle( Fl_RGB_Image *Fl_WinAPI_Screen_Driver::read_win_rectangle_unscaled(int X, int Y, int w, int h, Fl_Window *win) { // Depth of image is always 3 here - + // Grab all of the pixels in the image... // Assure that we are not trying to read non-existing data. If it is so, the @@ -528,7 +528,7 @@ Fl_RGB_Image *Fl_WinAPI_Screen_Driver::read_win_rectangle_unscaled(int X, int Y, } if (h < 1 || w < 1) return 0; // nothing to copy - + // Allocate and initialize the image data array size_t arraySize = ((size_t)w * h) * 3; uchar *p = new uchar[arraySize]; |
