Merge branch 'master' of https://github.com/okamstudio/godot
This commit is contained in:
commit
cb93e064a9
2 changed files with 3 additions and 3 deletions
|
@ -388,7 +388,7 @@ void VideoStreamTheoraplayer::pop_frame(Ref<ImageTexture> p_tex) {
|
||||||
{
|
{
|
||||||
DVector<uint8_t>::Write wr = data.write();
|
DVector<uint8_t>::Write wr = data.write();
|
||||||
uint8_t* ptr = wr.ptr();
|
uint8_t* ptr = wr.ptr();
|
||||||
memcpy(ptr, f->getBuffer(), imgsize);
|
copymem(ptr, f->getBuffer(), imgsize);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
for (int i=0; i<h; i++) {
|
for (int i=0; i<h; i++) {
|
||||||
|
|
|
@ -489,7 +489,7 @@ void TextEdit::_notification(int p_what) {
|
||||||
|
|
||||||
CharType cc = text[i][j];
|
CharType cc = text[i][j];
|
||||||
//ignore any brackets inside a string
|
//ignore any brackets inside a string
|
||||||
if (cc== '"' | cc == '\'') {
|
if (cc== '"' || cc == '\'') {
|
||||||
CharType quotation = cc;
|
CharType quotation = cc;
|
||||||
do {
|
do {
|
||||||
j++;
|
j++;
|
||||||
|
@ -560,7 +560,7 @@ void TextEdit::_notification(int p_what) {
|
||||||
|
|
||||||
CharType cc = text[i][j];
|
CharType cc = text[i][j];
|
||||||
//ignore any brackets inside a string
|
//ignore any brackets inside a string
|
||||||
if (cc== '"' | cc == '\'') {
|
if (cc== '"' || cc == '\'') {
|
||||||
CharType quotation = cc;
|
CharType quotation = cc;
|
||||||
do {
|
do {
|
||||||
j--;
|
j--;
|
||||||
|
|
Loading…
Reference in a new issue