Module: wine Branch: master Commit: 97fdb7a9bac874061fb415f108516005db052d78 URL: http://source.winehq.org/git/wine.git/?a=commit;h=97fdb7a9bac874061fb415f108...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Tue Dec 18 22:52:17 2012 +0000
ole2disp.dll16: Indentation fix.
---
dlls/ole2disp.dll16/ole2disp.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dlls/ole2disp.dll16/ole2disp.c b/dlls/ole2disp.dll16/ole2disp.c index 139b492..957d1bc 100644 --- a/dlls/ole2disp.dll16/ole2disp.c +++ b/dlls/ole2disp.dll16/ole2disp.c @@ -136,22 +136,22 @@ INT16 WINAPI SysReAllocString16(LPBSTR16 pbstr,LPCOLESTR16 oleStr) */ BSTR16 WINAPI SysAllocStringLen16(const char *oleStr, int len) { - BSTR16 out=BSTR_AllocBytes(len+1); + BSTR16 out=BSTR_AllocBytes(len+1);
- if (!out) - return 0; + if (!out) + return 0;
/* - * Copy the information in the buffer. - * Since it is valid to pass a NULL pointer here, we'll initialize the - * buffer to nul if it is the case. - */ + * Copy the information in the buffer. + * Since it is valid to pass a NULL pointer here, we'll initialize the + * buffer to nul if it is the case. + */ if (oleStr != 0) - strcpy(BSTR_GetAddr(out),oleStr); + strcpy(BSTR_GetAddr(out),oleStr); else - memset(BSTR_GetAddr(out), 0, len+1); + memset(BSTR_GetAddr(out), 0, len+1);
- return out; + return out; }
/******************************************************************************