src/video/haiku/SDL_bclipboard.cc
changeset 11045 cf4e14eedfdf
parent 11039 d0e35a9ba1f6
child 11811 5d94cb6b24d3
     1.1 --- a/src/video/haiku/SDL_bclipboard.cc	Sun May 28 15:36:09 2017 -0400
     1.2 +++ b/src/video/haiku/SDL_bclipboard.cc	Sun May 28 21:50:11 2017 +0200
     1.3 @@ -43,7 +43,7 @@
     1.4  			/* Presumably the string of characters is ascii-format */
     1.5  			ssize_t asciiLength = 0;
     1.6  			for(; text[asciiLength] != 0; ++asciiLength) {}
     1.7 -			clip->AddData("text/plain", B_MIME_TYPE, &text, asciiLength);
     1.8 +			clip->AddData("text/plain", B_MIME_TYPE, text, asciiLength);
     1.9  			be_clipboard->Commit();
    1.10  		}
    1.11  		be_clipboard->Unlock();