Module: wine Branch: refs/heads/master Commit: 6d0e51fb66c7d22b7edcebac15d6fda2cc085dd0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6d0e51fb66c7d22b7edcebac...
Author: Pierre d'Herbemont stegefin@free.fr Date: Thu Jun 8 22:32:59 2006 +0200
ntdll: Fix NtQueryInformationThread on non x86.
---
dlls/ntdll/thread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index b2d0c55..10cb72b 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c @@ -1128,10 +1128,10 @@ #ifdef __i386__ } SERVER_END_REQ; } + if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi); #else status = STATUS_NOT_IMPLEMENTED; #endif - if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi); return status; } case ThreadPriority: