Merge branch 'android_branch' into send_in_background

This commit is contained in:
Eric House 2011-10-10 22:42:28 -07:00
commit 861a24dfeb
3 changed files with 7 additions and 5 deletions

View file

@ -6,8 +6,8 @@
</head>
<body>
<b>Crosswords 4.4 beta 35 release</b>
<b>Crosswords 4.4 beta 36 release</b>
<p><em>(There was no beta 35)</em></p>
<ul>
<li>Add ability to look up words played by opponents via online

View file

@ -3,7 +3,7 @@
<!-- Resources in this file do not require localization -->
<resources>
<string name="app_version">4.4 beta 35</string>
<string name="app_version">4.4 beta 36</string>
<!-- prefs keys -->
<string name="key_color_tiles">key_color_tiles</string>

View file

@ -313,7 +313,7 @@ readStreamIf( ServerCtxt* server, XWStreamCtxt* in )
XP_U16 len = stream_getU16( in );
if ( 0 < len ) {
result = mkServerStream( server );
stream_copyFromStream( in, result, len );
stream_copyFromStream( result, in, len );
}
return result;
}
@ -323,7 +323,9 @@ writeStreamIf( XWStreamCtxt* dest, XWStreamCtxt* src )
{
XP_U16 len = !!src ? stream_getSize( src ) : 0;
stream_putU16( dest, len );
stream_copyFromStream( dest, src, len );
if ( 0 < len ) {
stream_copyFromStream( dest, src, len );
}
}
ServerCtxt*