diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_PostScript.cxx | 4 | ||||
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx index 307fdaf3b..968fe9535 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -964,6 +964,10 @@ double Fl_PostScript_Graphics_Driver::width(const char *s, int n) { return Fl_Display_Device::display_device()->driver()->width(s, n); } +double Fl_PostScript_Graphics_Driver::width(unsigned u) { + return Fl_Display_Device::display_device()->driver()->width(u); +} + int Fl_PostScript_Graphics_Driver::height() { return Fl_Display_Device::display_device()->driver()->height(); } diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 7ab9015e0..1a03bc135 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2781,7 +2781,7 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) { NSData *data = [clip dataForType:found]; if (data) { NSInteger len; - char *aux_c; + char *aux_c = NULL; if (![found isEqualToString:utf8_format]) { NSString *auxstring; auxstring = (NSString *)CFStringCreateWithBytes(NULL, |
