Skip to content
Snippets Groups Projects
Commit a0971cbd authored by Vipin Thomas's avatar Vipin Thomas
Browse files

Update pixel.cpp

parent d1f6ecf9
No related branches found
No related tags found
No related merge requests found
......@@ -37,12 +37,12 @@ void pixel(
charIn=toAscii((char)character);
}
if((count_streams >= 3 * (position1 - 1)) && (count_streams < 3 * (position2))){
if((count_streams >= 3 * (position1 - 1)) && (count_streams < 3 * (position2))&& (charIn!=0)){
addNum=charIn%10;
charIn=(int)charIn/10;
pkt.data=addNum;
pkt.data=charIn;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment