Ignore:
Timestamp:
Aug 13, 2008, 10:26:18 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • context.c: add the "swap" command to swap two images in the stack.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/src/pipi.c

    r2708 r2709  
    1919        {
    2020            if(pipi_command(ctx, "dup") != 0)
     21                return EXIT_FAILURE;
     22        }
     23        else if(!strcmp(argv[0], "--swap"))
     24        {
     25            if(pipi_command(ctx, "swap") != 0)
    2126                return EXIT_FAILURE;
    2227        }
Note: See TracChangeset for help on using the changeset viewer.