Changeset 6843a9c in mainline for kernel/generic/src/printf/printf_core.c
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 722912e
- Parents:
- ba72f2b (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/printf/printf_core.c
rba72f2b r6843a9c 284 284 /* Print leading spaces. */ 285 285 size_t strw = str_length(str); 286 if ( precision == 0)286 if ((precision == 0) || (precision > strw)) 287 287 precision = strw; 288 288 … … 332 332 /* Print leading spaces. */ 333 333 size_t strw = wstr_length(str); 334 if ( precision == 0)334 if ((precision == 0) || (precision > strw)) 335 335 precision = strw; 336 336
Note:
See TracChangeset
for help on using the changeset viewer.