mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
Merge branch 'dev' of https://github.com/Eng1n33r/flipperzero-firmware into dev
This commit is contained in:
@@ -99,7 +99,7 @@ bool stream_read_line(Stream* stream, string_t str_result) {
|
||||
}
|
||||
} while(true);
|
||||
|
||||
return stream_eof(stream);
|
||||
return string_size(str_result) != 0;
|
||||
}
|
||||
|
||||
bool stream_rewind(Stream* stream) {
|
||||
|
||||
@@ -102,8 +102,8 @@ bool stream_delete_and_insert(
|
||||
* Read line from a stream (supports LF and CRLF line endings)
|
||||
* @param stream
|
||||
* @param str_result
|
||||
* @return true if line was read
|
||||
* @return false if EOF
|
||||
* @return true if line lenght is not zero
|
||||
* @return false otherwise
|
||||
*/
|
||||
bool stream_read_line(Stream* stream, string_t str_result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user