mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
Merge branch 'android_branch' into send_in_background
This commit is contained in:
commit
861a24dfeb
3 changed files with 7 additions and 5 deletions
|
@ -6,8 +6,8 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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>
|
<ul>
|
||||||
|
|
||||||
<li>Add ability to look up words played by opponents via online
|
<li>Add ability to look up words played by opponents via online
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- Resources in this file do not require localization -->
|
<!-- Resources in this file do not require localization -->
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<string name="app_version">4.4 beta 35</string>
|
<string name="app_version">4.4 beta 36</string>
|
||||||
|
|
||||||
<!-- prefs keys -->
|
<!-- prefs keys -->
|
||||||
<string name="key_color_tiles">key_color_tiles</string>
|
<string name="key_color_tiles">key_color_tiles</string>
|
||||||
|
|
|
@ -313,7 +313,7 @@ readStreamIf( ServerCtxt* server, XWStreamCtxt* in )
|
||||||
XP_U16 len = stream_getU16( in );
|
XP_U16 len = stream_getU16( in );
|
||||||
if ( 0 < len ) {
|
if ( 0 < len ) {
|
||||||
result = mkServerStream( server );
|
result = mkServerStream( server );
|
||||||
stream_copyFromStream( in, result, len );
|
stream_copyFromStream( result, in, len );
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -323,7 +323,9 @@ writeStreamIf( XWStreamCtxt* dest, XWStreamCtxt* src )
|
||||||
{
|
{
|
||||||
XP_U16 len = !!src ? stream_getSize( src ) : 0;
|
XP_U16 len = !!src ? stream_getSize( src ) : 0;
|
||||||
stream_putU16( dest, len );
|
stream_putU16( dest, len );
|
||||||
|
if ( 0 < len ) {
|
||||||
stream_copyFromStream( dest, src, len );
|
stream_copyFromStream( dest, src, len );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ServerCtxt*
|
ServerCtxt*
|
||||||
|
|
Loading…
Reference in a new issue