Michael Stefaniuc : progman: Avoid using the comma operator.

Alexandre Julliard julliard at winehq.org
Mon Mar 4 15:08:24 CST 2019


Module: wine
Branch: master
Commit: 180da392801b2fdf7ae27f2f368de00a694676ea
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=180da392801b2fdf7ae27f2f368de00a694676ea

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Mar  1 21:08:22 2019 +0100

progman: Avoid using the comma operator.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/progman/grpfile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/progman/grpfile.c b/programs/progman/grpfile.c
index 4a71ce5..f3a084d 100644
--- a/programs/progman/grpfile.c
+++ b/programs/progman/grpfile.c
@@ -667,8 +667,8 @@ static BOOL GRPFILE_DoWriteGroupFile(HFILE file, PROGGROUP *group)
       PUT_SHORT(buffer, 0, 0x8000);
       PUT_SHORT(buffer, 2, 0xffff);
       PUT_SHORT(buffer, 4, 0x000a);
-      buffer[6] = 'P', buffer[7] = 'M';
-      buffer[8] = 'C', buffer[9] = 'C';
+      buffer[6] = 'P'; buffer[7] = 'M';
+      buffer[8] = 'C'; buffer[9] = 'C';
       if ((UINT)HFILE_ERROR == GRPFILE_WriteWithChecksum(file, buffer, 10))
 	      return FALSE;
 




More information about the wine-cvs mailing list