From b5ec2ceec38c0efa18a119b388c2a762e46041ec Mon Sep 17 00:00:00 2001 From: janwas Date: Wed, 5 Nov 2003 22:35:14 +0000 Subject: [PATCH] no message This was SVN commit r29. --- source/lib/res.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/lib/res.cpp b/source/lib/res.cpp index 50c913561a..55b049289a 100755 --- a/source/lib/res.cpp +++ b/source/lib/res.cpp @@ -265,6 +265,10 @@ Handle h_alloc(const u32 key, const uint type, /*const size_t user_size,*/ DTOR return 0; } hd->refs++; + + if(puser) + *puser = hd; + return h; } }