Why do you need to publically state it was broken and who broke it?
Does it make you feel more important and help to boost your ego?
-----Original Message-----
From: ros-diffs-bounces(a)reactos.org [mailto:ros-diffs-bounces@reactos.org] On Behalf Of sginsberg(a)svn.reactos.org
Sent: 16 October 2008 21:02
To: ros-diffs(a)reactos.org
Subject: [ros-diffs] [sginsberg] 36773: - Unbreak GetTextFaceA/W, broken since 28730 by GreatLord
Author: sginsberg
Date: Thu Oct 16 15:02:22 2008
New Revision: 36773
URL: http://svn.reactos.org/svn/reactos?rev=36773&view=rev
Log:
- Unbreak GetTextFaceA/W, broken since 28730 by GreatLord
Modified:
trunk/reactos/dll/win32/gdi32/objects/text.c
Modified: trunk/reactos/dll/win32/gdi32/objects/text.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/te…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/text.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/text.c [iso-8859-1] Thu Oct 16 15:02:22 2008
@@ -358,20 +358,24 @@
* @implemented
*/
INT
-STDCALL
+WINAPI
GetTextFaceW(HDC hDC,
- int nCount,
- LPWSTR lpFaceName)
-{
- INT retValue = 0;
- if ((!lpFaceName) || (nCount))
- {
- retValue = NtGdiGetTextFaceW(hDC,nCount,lpFaceName,0);
+ INT nCount,
+ PWSTR pFaceName)
+{
+ INT retValue;
+
+ if ((pFaceName && nCount) ||
+ !(pFaceName && nCount))
+ {
+ retValue = NtGdiGetTextFaceW(hDC, nCount, pFaceName, 0);
}
else
{
SetLastError(ERROR_INVALID_PARAMETER);
- }
+ retValue = 0;
+ }
+
return retValue;
}
Isnt that condition always true ?
+ if ((pFaceName && nCount) ||
+ !(pFaceName && nCount))
Kind regards,
Sylvain Petreolle
Support artists, not multinationals - http://Iwouldntsteal.net
Supportez les artistes, pas les multinationales - http://Iwouldntsteal.net
Well, we can't actually delete ncpa, it just needs to be rewritten to use the netshell library instead.
-----Original Message-----
From: ros-diffs-bounces(a)reactos.org [mailto:ros-diffs-bounces@reactos.org] On Behalf Of janderwald(a)svn.reactos.org
Sent: 15 October 2008 18:21
To: ros-diffs(a)reactos.org
Subject: [ros-diffs] [janderwald] 36762: - Implement Advanced Status IP Information Dialog - Import language strings from netcfgx - Add icon group (32x32) - ncpa is now a candidate for deletion
- ncpa is now a candidate for deletion
If i may say anything, I dont think its a good idea to force NET 3.5
dependency. It`ll reduce the software usability range as not everyone is
willing to upgrade from NET 2.0
Date: Mon, 13 Oct 2008 11:11:16 +0100
From: "gedmurphy" <gedmurphy(a)gmail.com>
Subject: Re: [ros-dev] [ros-diffs] [gschneider] 36737: RosDbg Part
3/3: - Named pipe implementation based on .net namespace IO.Pipes
with
support of threads - Previous win32 test version would strip random
characters from debug messages and crash on entering kdbg
(related t
To: <ros-dev(a)reactos.org>
Message-ID: <001901c92d1c$083d7770$18b86650$@com>
Content-Type: text/plain; charset="utf-8"
I'd originally refrained from doing it this way, using pinvoke instead to
keep .net 2.0 compatibility.
Using classes such as NamedPipeServerStream forces a .net 3.5 dependency. Is
this ok with everyone?
Ged.