From 8cc451a2e24dfc617681314c079491b0dd055fde Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Sun, 3 Jul 2016 13:36:35 +0200 Subject: [PATCH] Use error.Set instead of error.Format --- src/output/plugins/OSXOutputPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index 3fc802507..38748cec6 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -156,7 +156,7 @@ osx_output_set_device(OSXOutput *oo, Error &error) } if (!CFStringGetCString(cfname, name, sizeof(name), kCFStringEncodingUTF8)) { - error.Format(osx_output_domain, "Unable to convert device name from CFString to char*"); + error.Set(osx_output_domain, "Unable to convert device name from CFStringRef to char*"); ret = false; goto done; }