diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-05-11 10:24:00 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-05-12 12:08:38 -0700 |
commit | 21ceae9002c6364deb3d074cf2da7d3864cf6879 (patch) | |
tree | c813cbb3e14fe41f41d798caaba7c74239fdcb76 /include/dixfont.h | |
parent | 801162919d1c625d950a5d105ae4b3487ebc30a7 (diff) |
SetFontPath: set client->errorValue on failure.
Previously the callers were only setting errorValue on Success, when
it's ignored, and leaving it alone on failure, when it's sent to the
client.
Since SetFontPath takes the ClientPtr, let it set client->errorValue
instead of letting the callers continue to get it wrong.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include/dixfont.h')
-rw-r--r-- | include/dixfont.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/dixfont.h b/include/dixfont.h index e444a2024..cf86f5467 100644 --- a/include/dixfont.h +++ b/include/dixfont.h @@ -96,8 +96,7 @@ extern _X_EXPORT int ImageText(ClientPtr /*client*/, extern _X_EXPORT int SetFontPath(ClientPtr /*client*/, int /*npaths*/, - unsigned char * /*paths*/, - int * /*error*/); + unsigned char * /*paths*/); extern _X_EXPORT int SetDefaultFontPath(char * /*path*/); |