[prev in list] [next in list] [prev in thread] [next in thread]
List: ros-diffs
Subject: [ros-diffs] [CVS reactos] Fix TB_GETSTYLE to return the style of
From: gvg () osexperts ! com (Ge van Geldorp)
Date: 2004-04-30 9:55:16
Message-ID: 20040430095516.731C643AA () mok ! osexperts ! com
[Download RAW message or body]
<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>reactos/lib/comctl32</tt></b><span \
id="info"> on MAIN</span></td></tr> <tr><td><tt><a \
href="#file1">toolbar.c</a></tt></td><td align="right" id="added">+2</td><td></td><td \
nowrap="nowrap" align="center"><a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32/toolbar.c?rev=1.12&content-type=text/x-cvsweb-markup">1.12</a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32/toolbar.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&f=h">-></a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32/toolbar.c?rev=1.13&content-type=text/x-cvsweb-markup">1.13</a></td></tr>
</table>
<pre class="comment">
Fix TB_GETSTYLE to return the style of the toolbar when wParam is 0.
Spotted by Maxime Bellengé <<a \
href="mailto:maxime.bellenge@laposte.net">maxime.bellenge@laposte.net</a>>. Fixes \
<a href="http://reactos.com/bugzilla/show_bug.cgi?id=290">bug #290</a>. </pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos">reactos</a>/<a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib">lib</a>/<a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32">comctl32</a><br \
/></span> <div class="fileheader"><big><b>toolbar.c</b></big> <small id="info"><a \
href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32/toolbar.c?rev=1.12&content-type=text/x-cvsweb-markup">1.12</a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32/toolbar.c.diff?r1=text&tr1=1.12&r2=text&tr2=1.13&f=h">-></a> \
<a href="http://cvs.reactos.com/cgi-bin/cvsweb/reactos/lib/comctl32/toolbar.c?rev=1.13&content-type=text/x-cvsweb-markup">1.13</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.12 -r1.13
--- toolbar.c 15 Apr 2004 08:29:56 -0000 1.12
+++ toolbar.c 30 Apr 2004 09:55:16 -0000 1.13
@@ -3494,6 +3494,8 @@
</small></pre><pre class="diff" id="context"> TOOLBAR_INFO *infoPtr = \
TOOLBAR_GetInfoPtr (hwnd); INT nIndex;
</pre><pre class="diff" id="added">+ if (wParam == 0) return GetWindowLongW(hwnd, \
GWL_STYLE); +
</pre><pre class="diff" id="context"> nIndex = TOOLBAR_GetButtonIndex (infoPtr, \
(INT)wParam, FALSE); if (nIndex == -1)
return -1;
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" \
title="commit -> email">CVSspam</a> 0.2.8</small></center> </body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic