Browse Source

fixed a warning

feature/2015
Christian Kroll 15 years ago
parent
commit
118a026b2b
  1. 2
      scrolltext/scrolltext3.c

2
scrolltext/scrolltext3.c

@ -295,7 +295,7 @@ blob_t * setupBlob(char * str){
// on non-AVR archs strtok_r fails for some reason if it operates on a
// string which is located on another stack frame, so we need our own copy
memcpy (&blob->scrolltextBuffer, str, SCROLLTEXT_BUFFER_SIZE);
str = &blob->scrolltextBuffer;
str = blob->scrolltextBuffer;
#endif
chop_cnt = 0;
}

Loading…
Cancel
Save