Oliver Stieber wrote:
+HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES *sfp) {
- FIXME("%p,%p,%p\n", hdc, psc, sfp);
- /* return something sensible? */
- if (NULL != sfp) {
sfp->cBytes = sizeof(SCRIPT_FONTPROPERTIES);
sfp->wgBlank = 0;
sfp->wgDefault = 0;
sfp->wgInvalid = 0;
sfp->wgKashida = 1;
sfp->iKashidaWidth = 0;
- }
+}
You forgot the return value...
Felix
--- Felix Nawothnig felix.nawothnig@t-online.de wrote:
Oliver Stieber wrote:
+HRESULT WINAPI ScriptGetFontProperties(HDC hdc, SCRIPT_CACHE *psc, SCRIPT_FONTPROPERTIES
*sfp) {
- FIXME("%p,%p,%p\n", hdc, psc, sfp);
- /* return something sensible? */
- if (NULL != sfp) {
sfp->cBytes = sizeof(SCRIPT_FONTPROPERTIES);
sfp->wgBlank = 0;
sfp->wgDefault = 0;
sfp->wgInvalid = 0;
sfp->wgKashida = 1;
sfp->iKashidaWidth = 0;
- }
+}
You forgot the return value...
cheers
Oliver.
Felix
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com