This commit is contained in:
Juan Linietsky 2015-05-04 23:38:10 -03:00
commit cb93e064a9
2 changed files with 3 additions and 3 deletions

View file

@ -388,7 +388,7 @@ void VideoStreamTheoraplayer::pop_frame(Ref<ImageTexture> p_tex) {
{
DVector<uint8_t>::Write wr = data.write();
uint8_t* ptr = wr.ptr();
memcpy(ptr, f->getBuffer(), imgsize);
copymem(ptr, f->getBuffer(), imgsize);
}
/*
for (int i=0; i<h; i++) {

View file

@ -489,7 +489,7 @@ void TextEdit::_notification(int p_what) {
CharType cc = text[i][j];
//ignore any brackets inside a string
if (cc== '"' | cc == '\'') {
if (cc== '"' || cc == '\'') {
CharType quotation = cc;
do {
j++;
@ -560,7 +560,7 @@ void TextEdit::_notification(int p_what) {
CharType cc = text[i][j];
//ignore any brackets inside a string
if (cc== '"' | cc == '\'') {
if (cc== '"' || cc == '\'') {
CharType quotation = cc;
do {
j--;