Changeset feeac0d in mainline for uspace/lib/draw/drawctx.c


Ignore:
Timestamp:
2013-09-10T16:32:35Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4982d87
Parents:
e8d6ce2
Message:

Simplify use of list_foreach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/drawctx.c

    re8d6ce2 rfeeac0d  
    188188         * transferred to the original surface. */
    189189
    190         list_foreach(*((list_t *) path), link) {
    191                 path_step_t *step = (path_step_t *) link;
     190        list_foreach(*((list_t *) path), link, path_step_t, step) {
    192191                switch (step->type) {
    193192                case PATH_STEP_MOVETO:
Note: See TracChangeset for help on using the changeset viewer.